From d7992eb587d67e7a5a8b3ca85766a63089f8303e Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 24 Jan 2015 17:14:52 -0700 Subject: [PATCH] fixes #109 --- .../intellectualcrafters/plot/listeners/PlayerEvents.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java index 6a2d381a5..e39595695 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java @@ -160,10 +160,18 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi q.setX(border); passed = true; } + else if (t.getBlockX() <= -border) { + q.setX(-border); + passed = true; + } if (t.getBlockZ() >= border) { q.setZ(border); passed = true; } + else if (t.getBlockZ() <= -border) { + q.setZ(-border); + passed = true; + } if (passed) { event.setTo(q); PlayerFunctions.sendMessage(player, C.BORDER);