mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
fixed new types not being recognized
This commit is contained in:
parent
04876b5d58
commit
0a215a15ba
@ -148,7 +148,7 @@ import com.intellectualcrafters.plot.object.PlotWorld;
|
|||||||
}
|
}
|
||||||
final PlotWorld plotworld = PlotMain.getWorldSettings(world);
|
final PlotWorld plotworld = PlotMain.getWorldSettings(world);
|
||||||
PlotId id = manager.getPlotId(plotworld, loc);
|
PlotId id = manager.getPlotId(plotworld, loc);
|
||||||
if (id!=null && plotworld.TYPE != 0) {
|
if (id!=null && plotworld.TYPE == 2) {
|
||||||
if (ClusterManager.getCluster(world, id) == null) {
|
if (ClusterManager.getCluster(world, id) == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user