diff options
author | syeyoung <cyong06@naver.com> | 2021-05-09 22:09:29 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-05-09 22:09:29 +0900 |
commit | 89570391657bd23e06c8331639fc8f4c4daaafee (patch) | |
tree | 24dfd0801b0a4193fc33f6fbb9d85cc4b38024be /src/main/java/kr/syeyoung/dungeonsguide/features | |
parent | b64db8d662cbe5ab842c4ff2f061cf73e33dde6e (diff) | |
download | Skyblock-Dungeons-Guide-89570391657bd23e06c8331639fc8f4c4daaafee.tar.gz Skyblock-Dungeons-Guide-89570391657bd23e06c8331639fc8f4c4daaafee.tar.bz2 Skyblock-Dungeons-Guide-89570391657bd23e06c8331639fc8f4c4daaafee.zip |
check for null on inv
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/FeatureViewPlayerOnJoin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/FeatureViewPlayerOnJoin.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/FeatureViewPlayerOnJoin.java index 662f8389..8c152fa8 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/FeatureViewPlayerOnJoin.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/FeatureViewPlayerOnJoin.java @@ -334,7 +334,7 @@ public class FeatureViewPlayerOnJoin extends SimpleFeature implements GuiPostRen } GL11.glEnable(GL11.GL_SCISSOR_TEST); - if (drawInv) { + if (drawInv && playerProfile.get().getInventory() != null) { int startX = 81; int startY = 86; MPanel.clip(scaledResolution, popupRect.x+startX-1, popupRect.y+startY-1, 164, 74); |