From cea21ef2ef76f41da128cc3339f9e88cae0b1e55 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Wed, 24 Feb 2021 22:32:36 +0900 Subject: map fix. Pathfinder tweak --- .../syeyoung/dungeonsguide/features/impl/dungeon/FeatureDungeonMap.java | 2 +- .../kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java | 2 +- 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)); } } -- cgit