aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2020-11-27 16:34:08 +0900
committersyeyoung <42869671+cyoung06@users.noreply.github.com>2020-11-27 16:34:08 +0900
commitb446655945ba1d9b92155f7fc43b37f0f2821c2a (patch)
tree40bbef4475132a4484c98463f219e7ca9dd19e5b /src/main/java/kr/syeyoung/dungeonsguide/dungeon
parent2baa6dc4a59db422415bfad996e11619093788c6 (diff)
downloadSkyblock-Dungeons-Guide-b446655945ba1d9b92155f7fc43b37f0f2821c2a.tar.gz
Skyblock-Dungeons-Guide-b446655945ba1d9b92155f7fc43b37f0f2821c2a.tar.bz2
Skyblock-Dungeons-Guide-b446655945ba1d9b92155f7fc43b37f0f2821c2a.zip
SOLVE WATER PUZZLE TM
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPoint.java3
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPointSet.java3
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/DoorFinderRegistry.java2
3 files changed, 5 insertions, 3 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 ecb3b268..b6497872 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPoint.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPoint.java
@@ -8,10 +8,11 @@ import net.minecraft.block.Block;
import net.minecraft.util.BlockPos;
import javax.vecmath.Vector2d;
+import java.io.Serializable;
@Data
@AllArgsConstructor
-public class OffsetPoint implements Cloneable {
+public class OffsetPoint implements Cloneable, Serializable {
private int x;
private int y;
private int z;
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPointSet.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPointSet.java
index c33f7af8..9aea7610 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPointSet.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/data/OffsetPointSet.java
@@ -2,11 +2,12 @@ package kr.syeyoung.dungeonsguide.dungeon.data;
import lombok.Data;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@Data
-public class OffsetPointSet implements Cloneable{
+public class OffsetPointSet implements Cloneable, Serializable {
private List<OffsetPoint> offsetPointList = new ArrayList<OffsetPoint>();
@Override
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/DoorFinderRegistry.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/DoorFinderRegistry.java
index 306b1993..0fb3c89a 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/DoorFinderRegistry.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/doorfinder/DoorFinderRegistry.java
@@ -8,7 +8,7 @@ public class DoorFinderRegistry {
private static final Map<Pattern, StartDoorFinder> doorFinders = new HashMap<Pattern, StartDoorFinder>();
static {
- doorFinders.put(Pattern.compile("The Catacombs F[0-9]"), new CatacombDoorFinder());
+ doorFinders.put(Pattern.compile("The Catacombs (?:F[0-9]|E)"), new CatacombDoorFinder());
}
public static StartDoorFinder getDoorFinder(String dungeonName) {