increment version number

This commit is contained in:
boy0001 2014-12-29 12:02:55 +11:00
parent 3035bd46d2
commit 52f05f3dfb
3 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.intellectualcrafters</groupId> <groupId>com.intellectualcrafters</groupId>
<artifactId>PlotSquared</artifactId> <artifactId>PlotSquared</artifactId>
<version>2.4.3</version> <version>2.5.0</version>
<name>PlotSquared</name> <name>PlotSquared</name>
<packaging>jar</packaging> <packaging>jar</packaging>
<build> <build>

View File

@ -44,7 +44,7 @@ import org.bukkit.entity.Player;
public class RegenAllRoads extends SubCommand { public class RegenAllRoads extends SubCommand {
public RegenAllRoads() { public RegenAllRoads() {
super(Command.REGENALLROADS, "Regenerate all road schematic in your current chunk", "regenallroads", CommandCategory.DEBUG, false); super(Command.REGENALLROADS, "Regenerate all roads in the map", "regenallroads", CommandCategory.DEBUG, false);
} }
@Override @Override

View File

@ -241,8 +241,8 @@ public class HybridPlotWorld extends PlotWorld {
byte data = blocks1[index].getData(); byte data = blocks1[index].getData();
if (id != 0) { if (id != 0) {
addRoadBlock((short) (x - this.PATH_WIDTH_LOWER), (short) (y + this.OFFSET), (short) (z + this.PATH_WIDTH_LOWER + 1), id, data); addOverlayBlock((short) (x - this.PATH_WIDTH_LOWER), (short) (y + this.OFFSET), (short) (z + this.PATH_WIDTH_LOWER + 1), id, data);
addRoadBlock((short) (z + this.PATH_WIDTH_LOWER + 1), (short) (y + this.OFFSET), (short) (x - this.PATH_WIDTH_LOWER), id, data); addOverlayBlock((short) (z + this.PATH_WIDTH_LOWER + 1), (short) (y + this.OFFSET), (short) (x - this.PATH_WIDTH_LOWER), id, data);
} }
} }
} }
@ -257,14 +257,14 @@ public class HybridPlotWorld extends PlotWorld {
short id = blocks2[index].getBlock(); short id = blocks2[index].getBlock();
byte data = blocks2[index].getData(); byte data = blocks2[index].getData();
if (id != 0) { if (id != 0) {
addRoadBlock((short) (x - this.PATH_WIDTH_LOWER), (short) (y + this.OFFSET), (short) (z - this.PATH_WIDTH_LOWER), id, data); addOverlayBlock((short) (x - this.PATH_WIDTH_LOWER), (short) (y + this.OFFSET), (short) (z - this.PATH_WIDTH_LOWER), id, data);
} }
} }
} }
} }
} }
public void addRoadBlock(short x, short y, short z, short id, byte data) { public void addOverlayBlock(short x, short y, short z, short id, byte data) {
if (z < 0) { if (z < 0) {
z += this.SIZE; z += this.SIZE;
} }