From 165d9b625822cb0c375e54edeff699816d97358a Mon Sep 17 00:00:00 2001 From: manuelgu Date: Tue, 19 Jan 2016 14:12:42 +0100 Subject: [PATCH] Fix #829 --- src/main/java/com/plotsquared/listener/PlotListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/plotsquared/listener/PlotListener.java b/src/main/java/com/plotsquared/listener/PlotListener.java index 999b331bb..109df8bda 100644 --- a/src/main/java/com/plotsquared/listener/PlotListener.java +++ b/src/main/java/com/plotsquared/listener/PlotListener.java @@ -93,7 +93,7 @@ public class PlotListener { for (final UUID uuid : PlotHandler.getOwners(plot)) { final PlotPlayer owner = UUIDHandler.getPlayer(uuid); if ((owner != null) && !owner.getUUID().equals(pp.getUUID())) { - MainUtil.sendMessage(pp, C.NOTIFY_ENTER.s().replace("%player", pp.getName()).replace("%plot", plot.getId().toString())); + MainUtil.sendMessage(owner, C.NOTIFY_ENTER.s().replace("%player", pp.getName()).replace("%plot", plot.getId().toString())); } } }