diff options
author | syeyoung <cyong06@naver.com> | 2021-01-06 15:43:22 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-01-06 15:43:22 +0900 |
commit | 25bfa1d08f9618a83a3fcee27f71ac924b5d8754 (patch) | |
tree | 7d80a9e078eefa789ecef58a5e72960e82782281 /src/main/java/kr/syeyoung/dungeonsguide/features | |
parent | ba793c28fa627ae2ea437b261be56b4cf19fcd8f (diff) | |
download | Skyblock-Dungeons-Guide-25bfa1d08f9618a83a3fcee27f71ac924b5d8754.tar.gz Skyblock-Dungeons-Guide-25bfa1d08f9618a83a3fcee27f71ac924b5d8754.tar.bz2 Skyblock-Dungeons-Guide-25bfa1d08f9618a83a3fcee27f71ac924b5d8754.zip |
A
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features')
3 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java b/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java index 192ad10c..947b4dc7 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/GuiFeature.java @@ -41,7 +41,7 @@ public abstract class GuiFeature extends AbstractFeature implements ScreenRender public void drawScreen(float partialTicks) { if (!isEnabled()) return; GL11.glPushMatrix(); -// GL11.glColor4f(1,1,1,1); + GlStateManager.color(1,1,1,1); GlStateManager.disableFog(); GlStateManager.disableLighting(); clip(new ScaledResolution(Minecraft.getMinecraft()), featureRect.x, featureRect.y, featureRect.width, featureRect.height); diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java index 041c0afc..517b668b 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureChestPrice.java @@ -48,7 +48,7 @@ public class FeatureChestPrice extends SimpleFeature implements GuiBackgroundRen if (item != null) { if (item.getDisplayName() != null && item.getDisplayName().contains("Reward")) { NBTTagCompound tagCompound = item.serializeNBT().getCompoundTag("tag"); - if (tagCompound.hasKey("display", 10)) { + if (tagCompound != null && tagCompound.hasKey("display", 10)) { NBTTagCompound nbttagcompound = tagCompound.getCompoundTag("display"); if (nbttagcompound.getTagId("Lore") == 9) { diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonDeaths.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonDeaths.java index ff3be74b..697d42eb 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonDeaths.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonDeaths.java @@ -71,7 +71,6 @@ public class FeatureDungeonDeaths extends GuiFeature implements ChatListener { @Override public void onChat(ClientChatReceivedEvent clientChatReceivedEvent) { if (clientChatReceivedEvent.type == 2) return; - System.out.println("HUH"); if (!skyblockStatus.isOnDungeon()) return; DungeonContext context = skyblockStatus.getContext(); if (context == null) return; |