mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Whoops.
This commit is contained in:
parent
10b87f5728
commit
af9418552a
@ -69,7 +69,7 @@ public abstract class PlotBlock {
|
|||||||
}
|
}
|
||||||
conversionType = blockRegistry.getType();
|
conversionType = blockRegistry.getType();
|
||||||
}
|
}
|
||||||
if (!type.getClass().equals(blockRegistry.getClass())) {
|
if (!type.getClass().equals(conversionType)) {
|
||||||
throw new UnsupportedOperationException("The PlotSquared implementation has not registered a block registry for this object type");
|
throw new UnsupportedOperationException("The PlotSquared implementation has not registered a block registry for this object type");
|
||||||
}
|
}
|
||||||
return blockRegistry.getPlotBlock(type);
|
return blockRegistry.getPlotBlock(type);
|
||||||
|
Loading…
Reference in New Issue
Block a user