diff options
author | syeyoung <cyong06@naver.com> | 2021-02-15 16:02:52 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-02-15 16:02:52 +0900 |
commit | ac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5 (patch) | |
tree | 3908fa3dd09935c541ea87ee8e7300fa969d5477 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder | |
parent | 4cdd6e46fcdff39e8924f81f37fcfb4575fb3ffd (diff) | |
download | Skyblock-Dungeons-Guide-ac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5.tar.gz Skyblock-Dungeons-Guide-ac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5.tar.bz2 Skyblock-Dungeons-Guide-ac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5.zip |
remove weird things, fix offsetpoints
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/DungeonRoomInfoRegistry.java | 1 | ||||
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/RoomMatcher.java | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/DungeonRoomInfoRegistry.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/DungeonRoomInfoRegistry.java index 1bd708d3..19f2fd3c 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/DungeonRoomInfoRegistry.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/DungeonRoomInfoRegistry.java @@ -61,7 +61,6 @@ public class DungeonRoomInfoRegistry { public static void saveAll(File dir) { dir.mkdirs(); boolean isDev = Minecraft.getMinecraft().getSession().getPlayerID().replace("-","").equals("e686fe0aab804a71ac7011dc8c2b534c"); - System.out.println(isDev); String nameidstring = "name,uuid,processsor,secrets"; String ids = ""; for (DungeonRoomInfo dungeonRoomInfo : registered) { 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 c4bc596c..d8b7c47b 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/RoomMatcher.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/roomfinder/RoomMatcher.java @@ -35,6 +35,7 @@ public class RoomMatcher { for (int x = 0; x < xx; x++) { if (x % 8 == 0 && z % 8 == 0 && dungeonRoom.getContext().getWorld().getChunkFromBlockCoords(dungeonRoom.getRelativeBlockPosAt(x, 0, z)).isEmpty()) { throw new IllegalStateException("chunk is not loaded"); + } } } @@ -61,8 +62,6 @@ public class RoomMatcher { private boolean tryMatching(DungeonRoomInfo dungeonRoomInfo, int rotation) { if (dungeonRoomInfo.getColor() != dungeonRoom.getColor()) return false; - System.out.println("Matching "+dungeonRoomInfo.getName()+" At "+rotation); - int[][] res = dungeonRoomInfo.getBlocks(); for (int i = 0; i < rotation; i++) res = ArrayUtils.rotateCounterClockwise(res); @@ -74,7 +73,6 @@ public class RoomMatcher { Block b = dungeonRoom.getRelativeBlockAt(x,0,z); if (b == null || Block.getIdFromBlock(b) != data) { - System.out.println("Failed At "+x+"."+z + " "+data+" found " + Block.getIdFromBlock(b) +" found"); return false; } } |