This commit is contained in:
boy0001 2015-08-12 15:52:21 +10:00
parent 3bb5650850
commit a80ac4004f
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -88,6 +88,9 @@ public class MainUtil {
public static boolean isPlotArea(final Location location) {
final PlotWorld plotworld = PS.get().getPlotWorld(location.getWorld());
if (plotworld == null) {
return false;
}
if (plotworld.TYPE == 2) {
return ClusterManager.getCluster(location) != null;
}