incremented version number

This commit is contained in:
boy0001 2014-11-08 12:01:12 +11:00
parent c606b4d893
commit c22a476908
4 changed files with 9 additions and 5 deletions

View File

@ -49,7 +49,7 @@ public class PWE {
final Location bloc = PlotHelper.getPlotBottomLoc(w, plot.id);
final Location tloc = PlotHelper.getPlotTopLoc(w, plot.id);
final Vector bvec = new Vector(bloc.getBlockX() + 1, bloc.getBlockY() + 1, bloc.getBlockZ() + 1);
final Vector bvec = new Vector(bloc.getBlockX() + 1, bloc.getBlockY(), bloc.getBlockZ() + 1);
final Vector tvec = new Vector(tloc.getBlockX(), tloc.getBlockY(), tloc.getBlockZ());
final LocalWorld lw = PlotMain.worldEdit.wrapPlayer(p).getWorld();

View File

@ -571,7 +571,7 @@ public class SQLManager extends AbstractDB {
if (element.contains(":")) {
final String[] split = element.split(":");
try {
flags.add(new Flag(FlagManager.getFlag(split[0], true), split[1]));
flags.add(new Flag(FlagManager.getFlag(split[0], true), split[1].replace("´", ",").replace("¯", ":")));
}
catch (final Exception e) {
exception = true;
@ -649,7 +649,7 @@ public class SQLManager extends AbstractDB {
if (i != 0) {
flag_string.append(",");
}
flag_string.append(flag.getKey() + ":" + flag.getValue());
flag_string.append(flag.getKey() + ":" + flag.getValue().replace(",", "´").replace(":", "¯"));
i++;
}
runTask(new Runnable() {

View File

@ -176,6 +176,10 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
return;
}
if (isInPlot(event.getBlock().getLocation())) {
if (event.getBlock().getY()==0) {
event.setCancelled(true);
return;
}
final Plot plot = getCurrentPlot(event.getBlock().getLocation());
if (!plot.hasRights(event.getPlayer())) {
event.setCancelled(true);

View File

@ -1,6 +1,6 @@
name: PlotSquared
main: com.intellectualcrafters.plot.PlotMain
version: 2.2.1
version: 2.2.2
load: STARTUP
description: >
Easy, yet powerful Plot World generation and management.