release v2.5.11

This commit is contained in:
Jesse Boyd 2015-01-20 16:31:06 -08:00
parent 1837a9a247
commit 7f4037e1ed
3 changed files with 4 additions and 6 deletions

View File

@ -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);

View File

@ -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())) {

View File

@ -79,6 +79,7 @@ public class UUIDHandler {
}
public static void cacheAll() {
PlotMain.sendConsoleSenderMessage(C.PREFIX.s() + "&6Starting player data caching");
UUIDHandler.CACHED = true;
HashSet<String> 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");
}