diff --git a/src/main/java/com/intellectualcrafters/plot/generator/ClassicPlotManager.java b/src/main/java/com/intellectualcrafters/plot/generator/ClassicPlotManager.java index 6cd51ce4a..7e2c1594c 100644 --- a/src/main/java/com/intellectualcrafters/plot/generator/ClassicPlotManager.java +++ b/src/main/java/com/intellectualcrafters/plot/generator/ClassicPlotManager.java @@ -254,17 +254,6 @@ public abstract class ClassicPlotManager extends SquarePlotManager { return true; } - @Override - public boolean unclaimPlot(final PlotWorld plotworld, final Plot plot) { - final PlotBlock unclaim = ((ClassicPlotWorld) plotworld).WALL_BLOCK; - final PlotBlock claim = ((ClassicPlotWorld) plotworld).CLAIMED_WALL_BLOCK; - if (unclaim.id != 0 || !claim.equals(unclaim)) { - setWall(plotworld, plot.id, new PlotBlock[] { unclaim }); - } - MainUtil.removeSign(plot); - return true; - } - @Override public String[] getPlotComponents(final PlotWorld plotworld, final PlotId plotid) { return new String[] { "floor", "wall", "border" }; diff --git a/src/main/java/com/intellectualcrafters/plot/generator/SquarePlotManager.java b/src/main/java/com/intellectualcrafters/plot/generator/SquarePlotManager.java index 133da5389..ed97769d4 100644 --- a/src/main/java/com/intellectualcrafters/plot/generator/SquarePlotManager.java +++ b/src/main/java/com/intellectualcrafters/plot/generator/SquarePlotManager.java @@ -180,17 +180,4 @@ public abstract class SquarePlotManager extends GridPlotManager { final int z = dpw.ROAD_OFFSET_Z + (pz * (dpw.ROAD_WIDTH + dpw.PLOT_WIDTH)) - dpw.PLOT_WIDTH - ((int) Math.floor(dpw.ROAD_WIDTH / 2)) - 1; return new Location(plotworld.worldname, x, 1, z); } - - /** - * Set a plot biome - */ - @Override - public boolean setBiome(final Plot plot, final String biome) { - final int bottomX = MainUtil.getPlotBottomLoc(plot.world, plot.id).getX() - 1; - final int topX = MainUtil.getPlotTopLoc(plot.world, plot.id).getX(); - final int bottomZ = MainUtil.getPlotBottomLoc(plot.world, plot.id).getZ() - 1; - final int topZ = MainUtil.getPlotTopLoc(plot.world, plot.id).getZ(); - MainUtil.setBiome(plot.world, bottomX, bottomZ, topX, topZ, biome); - return true; - } }