mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Whoops.
This commit is contained in:
parent
10b87f5728
commit
af9418552a
@ -69,7 +69,7 @@ public abstract class PlotBlock {
|
||||
}
|
||||
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");
|
||||
}
|
||||
return blockRegistry.getPlotBlock(type);
|
||||
|
Loading…
Reference in New Issue
Block a user