aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-20 01:23:37 +0900
committersyeyoung <cyong06@naver.com>2021-02-20 01:23:37 +0900
commit7c15d593f5f583fc819835f7c0265137beb9c270 (patch)
tree6361f6ae8292a64b79cb4c42bdcde7d781382178 /src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
parent4ad16fc1d8b6c8ccb342e88c77a396131490657c (diff)
downloadSkyblock-Dungeons-Guide-7c15d593f5f583fc819835f7c0265137beb9c270.tar.gz
Skyblock-Dungeons-Guide-7c15d593f5f583fc819835f7c0265137beb9c270.tar.bz2
Skyblock-Dungeons-Guide-7c15d593f5f583fc819835f7c0265137beb9c270.zip
button solver, some tweaks
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
index 256673ba..5ec6c84d 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/pathfinding/NodeProcessorDungeonRoom.java
@@ -89,6 +89,8 @@ public class NodeProcessorDungeonRoom extends NodeProcessor {
|| state.getBlock() == Blocks.trapdoor || state.getBlock() == Blocks.iron_trapdoor
|| state.getBlock() == Blocks.wooden_button || state.getBlock() == Blocks.stone_button
|| 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 == Blocks.stone.getStateFromMeta(2));
}
}