aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-15 16:02:52 +0900
committersyeyoung <cyong06@naver.com>2021-02-15 16:02:52 +0900
commitac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5 (patch)
tree3908fa3dd09935c541ea87ee8e7300fa969d5477 /src/main/java/kr/syeyoung/dungeonsguide/roomedit
parent4cdd6e46fcdff39e8924f81f37fcfb4575fb3ffd (diff)
downloadSkyblock-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/roomedit')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/RoomMatchDisplayPane.java2
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/RoomMatchDisplayPane.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/RoomMatchDisplayPane.java
index 3f46f498..4250045c 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/RoomMatchDisplayPane.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/RoomMatchDisplayPane.java
@@ -28,7 +28,7 @@ public class RoomMatchDisplayPane extends MPanel {
public RoomMatchDisplayPane(DungeonRoom dungeonRoom, UUID uid, int rotation) {
this.dungeonRoom = dungeonRoom;
- currentBlocks = dungeonRoom.getDungeonRoomInfo().getBlocks();
+ currentBlocks = dungeonRoom.getRoomMatcher().createNew().getBlocks();
targetBlocks = DungeonRoomInfoRegistry.getByUUID(uid).getBlocks();
for (int i = 0; i < rotation; i++)
targetBlocks = ArrayUtils.rotateCounterClockwise(targetBlocks);
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java
index b904c039..fe711ad7 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java
@@ -127,7 +127,6 @@ public class ValueEditAColor extends MPanel implements ValueEdit<AColor> {
s.updateSelected();
v.updateSelected();
a.updateSelected();
- System.out.println(((AColor)parameter.getNewData()).getAlpha());
}
@Override
public void render(int absMousex, int absMousey, int relMousex0, int relMousey0, float partialTicks, Rectangle scissor) {