Compatibility with paper cardboard. Fixes #1078
This commit is contained in:
1 parent
3f9a73ac32
commit
35508c3635
1 file changed
+6
@@ -135,9 +135,15 @@ public class EntityPlayerMPFake extends ServerPlayerEntity
|
||||
this.getServerWorld().getChunkManager().updatePosition(this);
|
||||
onTeleportationDone(); //<- causes hard crash but would need to be done to enable portals // not as of 1.17
|
||||
}
|
||||
try
|
||||
{
|
||||
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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user