Updated to 1.19.2
This commit is contained in:
parent
337ccf5df9
commit
e3218f490d
|
|
@ -1,9 +1,9 @@
|
||||||
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
|
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
|
||||||
# This is required to provide enough memory for the Minecraft decompilation process.
|
# This is required to provide enough memory for the Minecraft decompilation process.
|
||||||
org.gradle.jvmargs=-Xmx3G
|
org.gradle.jvmargs=-Xmx3G
|
||||||
version=1.18.1
|
version=1.18.2
|
||||||
minecraft_version=1.19
|
minecraft_version=1.19.2
|
||||||
mappings_version=1.18.2-2022.07.17-1.19
|
mappings_version=2022.11.20-1.19.2
|
||||||
forge_version=41.0.100
|
forge_version=43.1.55
|
||||||
org.gradle.daemon=false
|
org.gradle.daemon=false
|
||||||
# chorg.gradle.java.home=C:/Program Files/AdoptOpenJDK/jdk-17.0.1/
|
# chorg.gradle.java.home=C:/Program Files/AdoptOpenJDK/jdk-17.0.1/
|
||||||
|
|
@ -57,7 +57,7 @@ public class ItemEntityEvents
|
||||||
String command = override.getCommandPlace();
|
String command = override.getCommandPlace();
|
||||||
|
|
||||||
if (command != null)
|
if (command != null)
|
||||||
player.getServer().getCommands().performCommand(player.getServer().createCommandSourceStack(), "/execute as " + player.getGameProfile().getName() + " run " + command);
|
player.getServer().getCommands().performPrefixedCommand(player.getServer().createCommandSourceStack(), "/execute as " + player.getGameProfile().getName() + " run " + command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ public class ItemEvents
|
||||||
String command = override.getCommandPlace();
|
String command = override.getCommandPlace();
|
||||||
|
|
||||||
if (command != null && !command.isEmpty())
|
if (command != null && !command.isEmpty())
|
||||||
player.getServer().getCommands().performCommand(player.getServer().createCommandSourceStack(), "/execute as " + player.getGameProfile().getName() + " run " + command);
|
player.getServer().getCommands().performPrefixedCommand(player.getServer().createCommandSourceStack(), "/execute as " + player.getGameProfile().getName() + " run " + command);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -381,7 +381,7 @@ public class ItemEvents
|
||||||
String command = override.getCommandInit();
|
String command = override.getCommandInit();
|
||||||
|
|
||||||
if (command != null)
|
if (command != null)
|
||||||
player.getServer().getCommands().performCommand(player.getServer().createCommandSourceStack(), "/execute as " + player.getGameProfile().getName() + " run " + command);
|
player.getServer().getCommands().performPrefixedCommand(player.getServer().createCommandSourceStack(), "/execute as " + player.getGameProfile().getName() + " run " + command);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -506,7 +506,7 @@ public class ItemEvents
|
||||||
String command = override.getCommandLoop();
|
String command = override.getCommandLoop();
|
||||||
|
|
||||||
if (command != null)
|
if (command != null)
|
||||||
player.getServer().getCommands().performCommand(player.getServer().createCommandSourceStack(), "/execute as " + player.getGameProfile().getName() + " run " + command);
|
player.getServer().getCommands().performPrefixedCommand(player.getServer().createCommandSourceStack(), "/execute as " + player.getGameProfile().getName() + " run " + command);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user