fixed crash

This commit is contained in:
Tschipp 2021-06-05 23:09:18 +02:00
parent 5e8ce8fc79
commit c2e567e27e
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# 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.15.4 version=1.15.5
minecraft_version=1.16.5 minecraft_version=1.16.5
mcp_mappings=20201028-1.16.3 mcp_mappings=20201028-1.16.3
forge_version=36.0.22 forge_version=36.0.22

View File

@ -39,7 +39,7 @@ public class ItemCarryonEntity extends Item {
static static
{ {
initGoals = ObfuscationReflectionHelper.findMethod(MobEntity.class, "registerGoals"); initGoals = ObfuscationReflectionHelper.findMethod(MobEntity.class, "func_184651_r");
initGoals.setAccessible(true); initGoals.setAccessible(true);
} }