diff options
Diffstat (limited to 'mod/src/main')
-rwxr-xr-x | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java index 77758ac6..fad86a11 100755 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java @@ -266,6 +266,7 @@ public class DungeonsGuide implements DGInterface { // hotswap fails in dev env due to intellij auto log collection or smth. it holds ref to stacktrace. private void transform(AbstractClientPlayer abstractClientPlayer) { + if (abstractClientPlayer == null) return; NetworkPlayerInfo uuidNetworkPlayerInfoEntry = ReflectionHelper.getPrivateValue(AbstractClientPlayer.class, abstractClientPlayer, "playerInfo", "field_175157_a", "a" |