Compatibility with paper cardboard. Fixes #1078
This commit is contained in:
1 parent
3f9a73ac32
commit
35508c3635
1 file changed
+8
-2
@@ -135,8 +135,14 @@ public class EntityPlayerMPFake extends ServerPlayerEntity
|
|||||||
this.getServerWorld().getChunkManager().updatePosition(this);
|
this.getServerWorld().getChunkManager().updatePosition(this);
|
||||||
onTeleportationDone(); //<- causes hard crash but would need to be done to enable portals // not as of 1.17
|
onTeleportationDone(); //<- causes hard crash but would need to be done to enable portals // not as of 1.17
|
||||||
}
|
}
|
||||||
super.tick();
|
try
|
||||||
this.playerTick();
|
{
|
||||||
|
super.tick();
|
||||||
|
this.playerTick();
|
||||||
|
}
|
||||||
|
catch (NullPointerException ignored) { } // happens with that paper port thingy - not sure what that would fix, but hey
|
||||||
|
// the game not gonna crash violently.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void shakeOff()
|
private void shakeOff()
|
||||||
|
|||||||
Reference in new issue
Block a user