From 9e5af7a64242ed05466c0be2fc8f8c64d255a2e9 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 20 Sep 2016 23:49:22 +1000 Subject: [PATCH] Possible fix for redstone in merged plots --- .../java/com/plotsquared/bukkit/listeners/PlayerEvents.java | 2 +- .../java/com/plotsquared/nukkit/listeners/PlayerEvents.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java index ccb723542..3b628621d 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java @@ -195,7 +195,7 @@ public class PlayerEvents extends PlotListener implements Listener { if (area == null) { return; } - Plot plot = area.getOwnedPlotAbs(loc); + Plot plot = area.getOwnedPlot(loc); if (plot == null) { return; } diff --git a/Nukkit/src/main/java/com/plotsquared/nukkit/listeners/PlayerEvents.java b/Nukkit/src/main/java/com/plotsquared/nukkit/listeners/PlayerEvents.java index 0aeeed5ea..e69f797b1 100644 --- a/Nukkit/src/main/java/com/plotsquared/nukkit/listeners/PlayerEvents.java +++ b/Nukkit/src/main/java/com/plotsquared/nukkit/listeners/PlayerEvents.java @@ -100,7 +100,7 @@ public class PlayerEvents extends PlotListener implements Listener { if (area == null) { return; } - Plot plot = area.getOwnedPlotAbs(loc); + Plot plot = area.getOwnedPlot(loc); if (plot == null) { return; }