diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java index 5cc8d86ee..a581ef029 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java @@ -1359,7 +1359,7 @@ public class PlotMain extends JavaPlugin implements Listener { killAllEntities(); } if (C.ENABLED.s().length() > 0) { - Broadcast(C.ENABLED); + sendConsoleSenderMessage(C.ENABLED); } // Add tables to this one, if we create more :D @@ -1475,7 +1475,7 @@ public class PlotMain extends JavaPlugin implements Listener { final String version = worldEdit.getDescription().getVersion(); if ((version != null) && version.startsWith("5.")) { PlotMain.sendConsoleSenderMessage("&cThis version of WorldEdit does not support PlotSquared."); - PlotMain.sendConsoleSenderMessage("&cPlease use WorldEdit 6+"); + PlotMain.sendConsoleSenderMessage("&cPlease use WorldEdit 6+ for masking support"); PlotMain.sendConsoleSenderMessage("&c - http://builds.enginehub.org/job/worldedit"); } else { getServer().getPluginManager().registerEvents(new WorldEditListener(), this); 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 3969f23f1..506940305 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java @@ -130,7 +130,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi final Player player = event.getPlayer(); final Location f = event.getFrom(); final Location t = event.getTo(); - final Location q = new Location(t.getWorld(), t.getBlockX(), 64, t.getZ()); + final Location q = new Location(t.getWorld(), t.getBlockX(), t.getBlockY(), t.getZ()); if ((f.getBlockX() != q.getBlockX()) || (f.getBlockZ() != q.getBlockZ())) { if (!isPlotWorld(player.getWorld())) { diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/UUIDHandler.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/UUIDHandler.java index 0f828919a..20ffa92ed 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/UUIDHandler.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/UUIDHandler.java @@ -79,6 +79,7 @@ public class UUIDHandler { } public static void cacheAll() { + PlotMain.sendConsoleSenderMessage(C.PREFIX.s() + "&6Starting player data caching"); UUIDHandler.CACHED = true; HashSet worlds = new HashSet<>(); worlds.add(Bukkit.getWorlds().get(0).getName()); @@ -121,8 +122,6 @@ public class UUIDHandler { } } } - - UUIDWrapper wrapper = new DefaultUUIDWrapper(); for (UUID uuid : uuids) { try { @@ -141,7 +140,6 @@ public class UUIDHandler { StringWrapper nameWrap = new StringWrapper(name); add(nameWrap, uuid); } - PlotMain.sendConsoleSenderMessage(C.PREFIX.s() + "&6Cached a total of: " + UUIDHandler.uuidMap.size() + " UUIDs"); }