diff options
author | syeyoung <cyong06@naver.com> | 2021-02-17 20:34:19 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-02-17 20:34:19 +0900 |
commit | abce348d7a8becd975d2bc753f7c11d5fa5c1024 (patch) | |
tree | fc096577ce8fe0a8815567a68be4bc32a4711197 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder | |
parent | 85dbbd16cc89f3179eb99c70ea4e007814e7c529 (diff) | |
download | Skyblock-Dungeons-Guide-abce348d7a8becd975d2bc753f7c11d5fa5c1024.tar.gz Skyblock-Dungeons-Guide-abce348d7a8becd975d2bc753f7c11d5fa5c1024.tar.bz2 Skyblock-Dungeons-Guide-abce348d7a8becd975d2bc753f7c11d5fa5c1024.zip |
bruh
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/RoomMatcher.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/RoomMatcher.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/RoomMatcher.java index bf480833..cf846b20 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/RoomMatcher.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/RoomMatcher.java @@ -5,6 +5,7 @@ import kr.syeyoung.dungeonsguide.utils.ArrayUtils; import kr.syeyoung.dungeonsguide.utils.ShortUtils; import lombok.Getter; import net.minecraft.block.Block; +import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; import net.minecraft.world.World; @@ -107,7 +108,7 @@ public class RoomMatcher { } Block b = dungeonRoom.getRelativeBlockAt(x,0,z); - if (b == null) { + if (b == null || b == Blocks.chest || b == Blocks.trapped_chest) { data[z][x] = -1; } else { data[z][x] = Block.getIdFromBlock(b); |