diff --git a/gradle.properties b/gradle.properties index 1c802be9..f31e7265 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,8 +4,8 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use # or better: https://modmuss50.me/fabric.html - minecraft_version=1.18-rc3 - yarn_mappings=1.18-rc3+build.1 + minecraft_version=1.18-rc4 + yarn_mappings=1.18-rc4+build.1 loader_version=0.12.5 fabric_version=0.43.1+1.18 diff --git a/src/main/java/carpet/patches/EntityPlayerMPFake.java b/src/main/java/carpet/patches/EntityPlayerMPFake.java index 562effb0..de877b0b 100644 --- a/src/main/java/carpet/patches/EntityPlayerMPFake.java +++ b/src/main/java/carpet/patches/EntityPlayerMPFake.java @@ -132,7 +132,7 @@ public class EntityPlayerMPFake extends ServerPlayerEntity if (this.getServer().getTicks() % 10 == 0) { this.networkHandler.syncWithPlayerPosition(); - //this.world.getChunkManager().updatePosition(this); + this.getWorld().getChunkManager().updatePosition(this); onTeleportationDone(); //<- causes hard crash but would need to be done to enable portals // not as of 1.17 } try