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);

View File

@@ -1,5 +1,5 @@
modLoader="javafml"
loaderVersion="[41,)"
loaderVersion="[42,)"
updateJSONURL="https://raw.githubusercontent.com/Exopandora/worldhandler/master/version.json"
issueTrackerURL="https://github.com/Exopandora/WorldHandler/issues"
displayURL="https://minecraft.curseforge.com/projects/world-handler-command-gui"
@@ -11,13 +11,13 @@ license="GPL v3.0"
[[mods]]
modId="worldhandler"
version="${minecraft_version}-${mod_version}"
version="1.19.1-${version}"
displayName="World Handler"
description="The World Handler provides a simple and easy to use graphical user interface for commands. It lets you create powerful and complex sub-commands alongside NBT-structures within seconds."
[[dependencies.worldhandler]]
modId="minecraft"
mandatory=true
versionRange="[1.19,)"
versionRange="[1.19.1,)"
ordering="NONE"
side="BOTH"