aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-05-09 22:09:29 +0900
committersyeyoung <cyong06@naver.com>2021-05-09 22:09:29 +0900
commit89570391657bd23e06c8331639fc8f4c4daaafee (patch)
tree24dfd0801b0a4193fc33f6fbb9d85cc4b38024be /src/main/java/kr
parentb64db8d662cbe5ab842c4ff2f061cf73e33dde6e (diff)
downloadSkyblock-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')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/FeatureViewPlayerOnJoin.java2
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);