Update to 1.19.1

This commit is contained in:
Marcel Konrad
2022-07-28 16:22:24 +02:00
parent ae54898439
commit 22ae5ec796
5 changed files with 10 additions and 12 deletions

View File

@@ -97,7 +97,7 @@ public class BlockHelper
remove.to().setZ(new Coordinate.Ints(0, Coordinate.Type.RELATIVE));
remove.block().set(Blocks.AIR);
Minecraft.getInstance().player.command(place.toCommand(FillCommandBuilder.Label.FILL, false).substring(1));
Minecraft.getInstance().player.commandUnsigned(place.toCommand(FillCommandBuilder.Label.FILL, false).substring(1));
ExecuteCommandBuilder execute = new ExecuteCommandBuilder();
AtOptionalArgument at = new AtOptionalArgument(AtOptionalArgument.Label.AT);

View File

@@ -51,7 +51,7 @@ public class CommandHelper
}
else if(Minecraft.getInstance().player != null)
{
Minecraft.getInstance().player.command(command.substring(1));
Minecraft.getInstance().player.commandUnsigned(command.substring(1));
}
WorldHandler.LOGGER.info("Command: " + command);