1.19.4-pre1

This commit is contained in:
gnembon committed 2023-02-22 20:22:02 +01:00
1 parent 4d842ae382
commit 4c8e477f4b
15 files changed
+37 -30

No files matched your search

@@ -1101,7 +1101,7 @@ public class WorldAccess
String itemString = lv.get(0).getString();
Vector3Argument locator = Vector3Argument.findIn(lv, 1);
ItemInput stackArg = NBTSerializableValue.parseItem(itemString, cc.registryAccess());
BlockPos where = new BlockPos(locator.vec);
BlockPos where = BlockPos.containing(locator.vec);
// Paintings throw an exception if their direction is vertical, therefore we change the default here
String facing = lv.size() > locator.offset
? lv.get(locator.offset).getString()