mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Incremented version number
This commit is contained in:
parent
f2b050444c
commit
8401c0dbcd
@ -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>
|
||||
|
@ -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;
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user