aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/java/kr/syeyoung/dungeonsguide
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-01-22 21:22:27 -0800
committerWalker Selby <git@walkerselby.com>2023-01-22 21:22:27 -0800
commit2c3e379ae8417b89ddccb9bfcb4162373d18e08d (patch)
tree6af705465aa86bdf24952d762316ef3eb29222eb /mod/src/main/java/kr/syeyoung/dungeonsguide
parentb6494f93b773d9cc7a3bffff9a9a1abb10697051 (diff)
downloadSkyblock-Dungeons-Guide-2c3e379ae8417b89ddccb9bfcb4162373d18e08d.tar.gz
Skyblock-Dungeons-Guide-2c3e379ae8417b89ddccb9bfcb4162373d18e08d.tar.bz2
Skyblock-Dungeons-Guide-2c3e379ae8417b89ddccb9bfcb4162373d18e08d.zip
Refactor DungeonMapConstantRetreiver.java to DungeonMapConstantRetriever.java because typo
Diffstat (limited to 'mod/src/main/java/kr/syeyoung/dungeonsguide')
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/DungeonContext.java8
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/map/DungeonMapConstantRetriever.java (renamed from mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/map/DungeonMapConstantRetreiver.java)2
2 files changed, 6 insertions, 4 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/DungeonContext.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/DungeonContext.java
index 037eb442..62c557d7 100755
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/DungeonContext.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/DungeonContext.java
@@ -25,7 +25,7 @@ import kr.syeyoung.dungeonsguide.mod.dungeon.doorfinder.DungeonSpecificDataProvi
import kr.syeyoung.dungeonsguide.mod.dungeon.events.DungeonEventRecorder;
import kr.syeyoung.dungeonsguide.mod.dungeon.events.impl.DungeonNodataEvent;
import kr.syeyoung.dungeonsguide.mod.dungeon.events.impl.DungeonPuzzleFailureEvent;
-import kr.syeyoung.dungeonsguide.mod.dungeon.map.DungeonMapConstantRetreiver;
+import kr.syeyoung.dungeonsguide.mod.dungeon.map.DungeonMapConstantRetriever;
import kr.syeyoung.dungeonsguide.mod.dungeon.map.DungeonMapLayout;
import kr.syeyoung.dungeonsguide.mod.dungeon.map.DungeonRoomScaffoldParser;
import kr.syeyoung.dungeonsguide.mod.dungeon.map.MapPlayerProcessor;
@@ -50,8 +50,10 @@ import net.minecraftforge.common.MinecraftForge;
import javax.vecmath.Vector2d;
import java.awt.*;
+import java.util.ArrayList;
+import java.util.HashSet;
import java.util.List;
-import java.util.*;
+import java.util.Set;
public class DungeonContext {
@Getter @Setter
@@ -189,7 +191,7 @@ public class DungeonContext {
processFinishedMap(mapUpdateEvent.getMapData().colors);
}
if (getScaffoldParser() == null) {
- DungeonMapLayout layout = DungeonMapConstantRetreiver.beginParsingMap(mapUpdateEvent.getMapData().colors, door, doorOffset);
+ DungeonMapLayout layout = DungeonMapConstantRetriever.beginParsingMap(mapUpdateEvent.getMapData().colors, door, doorOffset);
if (layout != null)
scaffoldParser = new DungeonRoomScaffoldParser(
layout,
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/map/DungeonMapConstantRetreiver.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/map/DungeonMapConstantRetriever.java
index 4df16ca9..a6c3205d 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/map/DungeonMapConstantRetreiver.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/map/DungeonMapConstantRetriever.java
@@ -30,7 +30,7 @@ import java.util.Set;
// This class is responsible for matching the world to hand held map.
-public class DungeonMapConstantRetreiver {
+public class DungeonMapConstantRetriever {
public static DungeonMapLayout beginParsingMap(byte[] mapData, BlockPos worldDoorLocation, Vector2d worldDoorDirection) {
if (worldDoorLocation == null || worldDoorDirection == null) return null;