mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
incremented version number
This commit is contained in:
parent
c606b4d893
commit
c22a476908
@ -49,7 +49,7 @@ public class PWE {
|
|||||||
final Location bloc = PlotHelper.getPlotBottomLoc(w, plot.id);
|
final Location bloc = PlotHelper.getPlotBottomLoc(w, plot.id);
|
||||||
final Location tloc = PlotHelper.getPlotTopLoc(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 Vector tvec = new Vector(tloc.getBlockX(), tloc.getBlockY(), tloc.getBlockZ());
|
||||||
|
|
||||||
final LocalWorld lw = PlotMain.worldEdit.wrapPlayer(p).getWorld();
|
final LocalWorld lw = PlotMain.worldEdit.wrapPlayer(p).getWorld();
|
||||||
|
@ -571,7 +571,7 @@ public class SQLManager extends AbstractDB {
|
|||||||
if (element.contains(":")) {
|
if (element.contains(":")) {
|
||||||
final String[] split = element.split(":");
|
final String[] split = element.split(":");
|
||||||
try {
|
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) {
|
catch (final Exception e) {
|
||||||
exception = true;
|
exception = true;
|
||||||
@ -649,7 +649,7 @@ public class SQLManager extends AbstractDB {
|
|||||||
if (i != 0) {
|
if (i != 0) {
|
||||||
flag_string.append(",");
|
flag_string.append(",");
|
||||||
}
|
}
|
||||||
flag_string.append(flag.getKey() + ":" + flag.getValue());
|
flag_string.append(flag.getKey() + ":" + flag.getValue().replace(",", "´").replace(":", "¯"));
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
runTask(new Runnable() {
|
runTask(new Runnable() {
|
||||||
|
@ -176,6 +176,10 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isInPlot(event.getBlock().getLocation())) {
|
if (isInPlot(event.getBlock().getLocation())) {
|
||||||
|
if (event.getBlock().getY()==0) {
|
||||||
|
event.setCancelled(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
final Plot plot = getCurrentPlot(event.getBlock().getLocation());
|
final Plot plot = getCurrentPlot(event.getBlock().getLocation());
|
||||||
if (!plot.hasRights(event.getPlayer())) {
|
if (!plot.hasRights(event.getPlayer())) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: PlotSquared
|
name: PlotSquared
|
||||||
main: com.intellectualcrafters.plot.PlotMain
|
main: com.intellectualcrafters.plot.PlotMain
|
||||||
version: 2.2.1
|
version: 2.2.2
|
||||||
load: STARTUP
|
load: STARTUP
|
||||||
description: >
|
description: >
|
||||||
Easy, yet powerful Plot World generation and management.
|
Easy, yet powerful Plot World generation and management.
|
||||||
|
Loading…
Reference in New Issue
Block a user