This commit is contained in:
boy0001 2015-03-19 23:07:57 +11:00
parent 8bd47b5e84
commit 657c1a1d54
2 changed files with 4 additions and 0 deletions

View File

@ -309,6 +309,7 @@ public abstract class ClassicPlotManager extends SquarePlotManager {
if (!claim.equals(unclaim)) {
setWall(plotworld, plot.id, new PlotBlock[] { unclaim });
}
MainUtil.removeSign(plot);
return true;
}

View File

@ -337,6 +337,9 @@ public class MainUtil {
final String world = p.world;
final PlotManager manager = PlotSquared.getPlotManager(world);
final PlotWorld plotworld = PlotSquared.getPlotWorld(world);
if (!plotworld.ALLOW_SIGNS) {
return;
}
final Location loc = manager.getSignLoc(plotworld, p);
BlockManager.setBlocks(world, new int[] { loc.getX() }, new int[] { loc.getY() }, new int[] { loc.getZ() }, new int[] { 0 }, new byte[] { 0 });
}