aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/features
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-03-13 01:17:54 +0900
committersyeyoung <cyong06@naver.com>2021-03-13 01:17:54 +0900
commitc11cd2144699ec909897d1eabe90f65992a5bb14 (patch)
tree843c1642ce8792a9ca4395ef5907e98210fbddf1 /src/main/java/kr/syeyoung/dungeonsguide/features
parent1e7761c2a495add7bbd896a64544374f8ca702b4 (diff)
downloadSkyblock-Dungeons-Guide-c11cd2144699ec909897d1eabe90f65992a5bb14.tar.gz
Skyblock-Dungeons-Guide-c11cd2144699ec909897d1eabe90f65992a5bb14.tar.bz2
Skyblock-Dungeons-Guide-c11cd2144699ec909897d1eabe90f65992a5bb14.zip
maybe fixed
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/etc/FeaturePenguins.java2
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/etc/FeaturePenguins.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/etc/FeaturePenguins.java
index f5ae6802..4e16781e 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/etc/FeaturePenguins.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/etc/FeaturePenguins.java
@@ -30,7 +30,7 @@ public class FeaturePenguins extends SimpleFeature implements PlayerRenderListen
private SkyblockStatus skyblockStatus = e.getDungeonsGuide().getSkyblockStatus();
- private ResourceLocation penguin = new ResourceLocation("iamdg:penguin.png");
+ private ResourceLocation penguin = new ResourceLocation("dungeonsguide:penguin.png");
@Override
public void onEntityRenderPre(RenderPlayerEvent.Pre renderPlayerEvent) {
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java
index 898c7105..270fb4cb 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/secret/FeatureMechanicBrowse.java
@@ -116,6 +116,9 @@ public class FeatureMechanicBrowse extends GuiFeature implements GuiPreRenderLis
int mouseX = Mouse.getX() * width / Minecraft.getMinecraft().displayWidth;
int mouseY = height - Mouse.getY() * height / Minecraft.getMinecraft().displayHeight - 1;
GlStateManager.pushMatrix();
+ GlStateManager.enableTexture2D();
+ GlStateManager.disableLighting();
+ GlStateManager.color(1, 1, 1, 1);
GeneralRoomProcessor grp = (GeneralRoomProcessor) dungeonRoom.getRoomProcessor();
@@ -183,6 +186,7 @@ public class FeatureMechanicBrowse extends GuiFeature implements GuiPreRenderLis
GlStateManager.popMatrix();
GlStateManager.enableBlend();
+ GlStateManager.enableTexture2D();
}
private void clip(ScaledResolution resolution, int x, int y, int width, int height) {