From a9db4099d028b8cdfe25c5bbfcf51cfdd06cba92 Mon Sep 17 00:00:00 2001 From: gnembon Date: Wed, 25 Aug 2021 00:19:31 -0300 Subject: [PATCH] Compatibility with paper cardboard. Fixes #1078 --- src/main/java/carpet/patches/EntityPlayerMPFake.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/carpet/patches/EntityPlayerMPFake.java b/src/main/java/carpet/patches/EntityPlayerMPFake.java index 885a5054..ada943ff 100644 --- a/src/main/java/carpet/patches/EntityPlayerMPFake.java +++ b/src/main/java/carpet/patches/EntityPlayerMPFake.java @@ -140,8 +140,12 @@ public class EntityPlayerMPFake extends ServerPlayerEntity 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. + catch (NullPointerException ignored) + { + // happens with that paper port thingy - not sure what that would fix, but hey + // the game not gonna crash violently. + } + }