commands fail to run in pure server context. Fixes #474
This commit is contained in:
1 parent
32292d4909
commit
279ac0f1d3
1 file changed
+1
-1
@@ -472,7 +472,7 @@ public class Auxiliary {
|
||||
Value retval = new NumericValue(s.getMinecraftServer().getCommandManager().execute(
|
||||
new ServerCommandSource(
|
||||
CommandOutput.DUMMY, posf, Vec2f.ZERO, s.getWorld(), CarpetSettings.runPermissionLevel,
|
||||
s.getName(), s.getDisplayName(), s.getMinecraftServer(), s.getPlayer(), true,
|
||||
s.getName(), s.getDisplayName(), s.getMinecraftServer(), s.getEntity(), true,
|
||||
(ctx, succ, res) -> { }, EntityAnchorArgumentType.EntityAnchor.FEET)
|
||||
{
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user