Incremented version number

This commit is contained in:
boy0001 2015-06-24 14:22:33 +10:00
parent f2b050444c
commit 8401c0dbcd
3 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<artifactId>PlotSquared</artifactId>
<version>2.11.22</version>
<version>2.11.23</version>
<name>PlotSquared</name>
<packaging>jar</packaging>
<build>

View File

@ -72,7 +72,7 @@ public class Info extends SubCommand {
arg = null;
}
}
Plot plot = MainUtil.getPlotFromString(player, arg, false);
Plot plot = MainUtil.getPlotFromString(player, arg, player == null);
if (plot == null) {
if (player == null) {
return false;

View File

@ -11,6 +11,7 @@ import org.bukkit.Chunk;
import org.bukkit.World;
import com.intellectualcrafters.plot.BukkitMain;
import com.intellectualcrafters.plot.PlotSquared;
import com.intellectualcrafters.plot.object.ChunkLoc;
import com.intellectualcrafters.plot.util.ReflectionUtils.RefClass;
import com.intellectualcrafters.plot.util.ReflectionUtils.RefConstructor;
@ -24,7 +25,7 @@ import com.intellectualcrafters.plot.util.ReflectionUtils.RefMethod;
*/
public class SendChunk {
private static boolean v1_7_10 = BukkitMain.checkVersion(1, 7, 10) && !BukkitMain.checkVersion(1, 8, 0);
private static boolean v1_7_10 = PlotSquared.IMP.checkVersion(1, 7, 10) && !PlotSquared.IMP.checkVersion(1, 8, 0);
// Ref Class
private static final RefClass classWorld = getRefClass("{nms}.World");
private static final RefClass classEntityPlayer = getRefClass("{nms}.EntityPlayer");