diff options
author | syeyoung <cyoung06@naver.com> | 2022-11-20 00:11:08 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2022-11-20 00:11:08 +0900 |
commit | 9c169734cd960705eb70c052e51f9fab2ab74ab6 (patch) | |
tree | 7e47788bc68f57483a9b9cc9ff9ccf518946dbd8 /mod/src/main/java/kr/syeyoung | |
parent | cce3c344e3a2219cbafbef0a988304af9b5e2cb1 (diff) | |
download | Skyblock-Dungeons-Guide-9c169734cd960705eb70c052e51f9fab2ab74ab6.tar.gz Skyblock-Dungeons-Guide-9c169734cd960705eb70c052e51f9fab2ab74ab6.tar.bz2 Skyblock-Dungeons-Guide-9c169734cd960705eb70c052e51f9fab2ab74ab6.zip |
- Check if player is null in 'transform'
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main/java/kr/syeyoung')
-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" |