diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon')
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) { |