Fix #1281 , Fix #1282 , and Sponge gradle

This commit is contained in:
MattBDev
2016-07-29 12:31:45 -04:00
parent 1f341e6ba9
commit 610e204d12
5 changed files with 16 additions and 4 deletions

View File

@ -207,7 +207,8 @@ public class PlotListener {
for (UUID uuid : plot.getOwners()) {
PlotPlayer owner = UUIDHandler.getPlayer(uuid);
if ((owner != null) && !owner.getUUID().equals(player.getUUID())) {
MainUtil.sendMessage(player, C.NOTIFY_LEAVE.s().replace("%player", player.getName()).replace("%plot", plot.getId().toString()));
MainUtil.sendMessage(owner, C.NOTIFY_LEAVE.s().replace("%player", player.getName()).replace("%plot", plot.getId()
.toString()));
}
}
}