aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-24 22:32:36 +0900
committersyeyoung <cyong06@naver.com>2021-02-24 22:32:36 +0900
commitcea21ef2ef76f41da128cc3339f9e88cae0b1e55 (patch)
tree315b95e105b132b74f576c0cc89660a5e20ddff4 /src
parent94c42073098c3f738d565d7febd9d201cbad125d (diff)
downloadSkyblock-Dungeons-Guide-cea21ef2ef76f41da128cc3339f9e88cae0b1e55.tar.gz
Skyblock-Dungeons-Guide-cea21ef2ef76f41da128cc3339f9e88cae0b1e55.tar.bz2
Skyblock-Dungeons-Guide-cea21ef2ef76f41da128cc3339f9e88cae0b1e55.zip
map fix.
Pathfinder tweak
Diffstat (limited to 'src')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java2
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java
index 4b8cae3b..357c5636 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java
@@ -243,7 +243,7 @@ public class FeatureDungeonMap extends GuiFeature implements DungeonEndListener,
str += "❌";
}
- fr.drawString(str, -(fr.getStringWidth(str) / 2), -(fr.FONT_HEIGHT / 2), dungeonRoom.getColor() == 74 ? 0xff000000 : 0xFFFFFFFF);
+ fr.drawString(str, -(fr.getStringWidth(str) / 2), -(fr.FONT_HEIGHT / 2), dungeonRoom.getCurrentState() == DungeonRoom.RoomState.FINISHED ? 0xFF00FF00 : (dungeonRoom.getColor() == 74 ? 0xff000000 : 0xFFFFFFFF));
GlStateManager.popAttrib();
GlStateManager.popMatrix();
}
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
index ae5cf458..8955a765 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
@@ -91,7 +91,7 @@ public class NodeProcessorDungeonRoom extends NodeProcessor {
|| state.getBlock() == Blocks.fire || state.getBlock() == Blocks.torch
|| state.getBlock() == Blocks.rail || state.getBlock() == Blocks.golden_rail
|| state.getBlock() == Blocks.activator_rail || state.getBlock() == Blocks.activator_rail
- || state.getBlock() == Blocks.carpet
+ || state.getBlock() == Blocks.carpet || state.getBlock() == Blocks.redstone_torch
|| (state == Blocks.stone.getStateFromMeta(2));
}
}