From 8401c0dbcd11ef61b58b7353b7197aca0efc0450 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Wed, 24 Jun 2015 14:22:33 +1000 Subject: [PATCH] Incremented version number --- PlotSquared/pom.xml | 2 +- .../main/java/com/intellectualcrafters/plot/commands/Info.java | 2 +- .../com/intellectualcrafters/plot/util/bukkit/SendChunk.java | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PlotSquared/pom.xml b/PlotSquared/pom.xml index 8731618f4..b2efb340b 100644 --- a/PlotSquared/pom.xml +++ b/PlotSquared/pom.xml @@ -8,7 +8,7 @@ UTF-8 PlotSquared - 2.11.22 + 2.11.23 PlotSquared jar diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Info.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Info.java index a94c60bf6..10bf25783 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Info.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Info.java @@ -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; diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/bukkit/SendChunk.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/bukkit/SendChunk.java index 7f88e052b..6bcff08fc 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/bukkit/SendChunk.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/bukkit/SendChunk.java @@ -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");