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

@@ -532,7 +532,7 @@ public class ScriptCommand
CarpetScriptHost host = getHost(context);
return handleCall(source, host, () -> {
CarpetExpression ex = new CarpetExpression(host.main, expr, source, new BlockPos(0, 0, 0));
return ex.scriptRunCommand(host, new BlockPos(source.getPosition()));
return ex.scriptRunCommand(host, BlockPos.containing(source.getPosition()));
});
}