mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 05:53:22 +00:00
Fix #539
This commit is contained in:
parent
3bb5650850
commit
a80ac4004f
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue