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/data | |
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/data')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPoint.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPoint.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPoint.java index 76f22f30..8e7fd7e7 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPoint.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPoint.java @@ -33,9 +33,9 @@ public class OffsetPoint implements Cloneable, Serializable { for (int i = 0; i < dungeonRoom.getRoomMatcher().getRotation(); i++) { vector2d = VectorUtils.rotateClockwise(vector2d); if (i % 2 == 0) { - vector2d.x += dungeonRoom.getDungeonRoomInfo().getBlocks().length - 1; // + Z + vector2d.x += dungeonRoom.getDungeonRoomInfo().getBlocks()[0].length - 1; // + Z } else { - vector2d.x += dungeonRoom.getDungeonRoomInfo().getBlocks()[0].length - 1; // + X + vector2d.x += dungeonRoom.getDungeonRoomInfo().getBlocks().length - 1; // + X } } |