mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +01:00
Fix #539
This commit is contained in:
parent
3bb5650850
commit
a80ac4004f
2
pom.xml
2
pom.xml
@ -8,7 +8,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
<artifactId>PlotSquared</artifactId>
|
<artifactId>PlotSquared</artifactId>
|
||||||
<version>3.0.13</version>
|
<version>3.0.14</version>
|
||||||
<name>PlotSquared</name>
|
<name>PlotSquared</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<build>
|
<build>
|
||||||
|
@ -88,6 +88,9 @@ public class MainUtil {
|
|||||||
|
|
||||||
public static boolean isPlotArea(final Location location) {
|
public static boolean isPlotArea(final Location location) {
|
||||||
final PlotWorld plotworld = PS.get().getPlotWorld(location.getWorld());
|
final PlotWorld plotworld = PS.get().getPlotWorld(location.getWorld());
|
||||||
|
if (plotworld == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (plotworld.TYPE == 2) {
|
if (plotworld.TYPE == 2) {
|
||||||
return ClusterManager.getCluster(location) != null;
|
return ClusterManager.getCluster(location) != null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user