fixed new types not being recognized

This commit is contained in:
boy0001 2015-02-08 12:13:38 +11:00
parent 04876b5d58
commit 0a215a15ba

View File

@ -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;
}