From 3633576e03ecfc01570e5229f7254aa8b8ff7978 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 8 Jul 2017 23:22:05 +1000 Subject: [PATCH] Fix teleport for single plot worlds --- .../intellectualcrafters/plot/object/worlds/SinglePlot.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/object/worlds/SinglePlot.java b/Core/src/main/java/com/intellectualcrafters/plot/object/worlds/SinglePlot.java index d1535d222..5d1a0f723 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/object/worlds/SinglePlot.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/object/worlds/SinglePlot.java @@ -3,6 +3,7 @@ package com.intellectualcrafters.plot.object.worlds; import com.intellectualcrafters.plot.config.C; import com.intellectualcrafters.plot.flag.Flag; import com.intellectualcrafters.plot.object.BlockLoc; +import com.intellectualcrafters.plot.object.Location; import com.intellectualcrafters.plot.object.Plot; import com.intellectualcrafters.plot.object.PlotArea; import com.intellectualcrafters.plot.object.PlotId; @@ -48,6 +49,11 @@ public class SinglePlot extends Plot { } } + @Override + public Location getSide() { + return getCenter(); + } + @Override protected boolean isLoaded() { getArea().loadWorld(getId());