mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Fixes #211
This commit is contained in:
parent
8bd47b5e84
commit
657c1a1d54
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue