diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/PlotBlock.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/PlotBlock.java index c73a0ccbb..4599c0d14 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/PlotBlock.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/object/PlotBlock.java @@ -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);