From 0a215a15bacabdddc2b15ac456fa0824221ab68a Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 8 Feb 2015 12:13:38 +1100 Subject: [PATCH] fixed new types not being recognized --- .../com/intellectualcrafters/plot/util/PlayerFunctions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PlayerFunctions.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PlayerFunctions.java index 10a104adb..6a50c8325 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PlayerFunctions.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PlayerFunctions.java @@ -148,7 +148,7 @@ import com.intellectualcrafters.plot.object.PlotWorld; } final PlotWorld plotworld = PlotMain.getWorldSettings(world); PlotId id = manager.getPlotId(plotworld, loc); - if (id!=null && plotworld.TYPE != 0) { + if (id!=null && plotworld.TYPE == 2) { if (ClusterManager.getCluster(world, id) == null) { return null; }