mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Fixes #211
This commit is contained in:
parent
8bd47b5e84
commit
657c1a1d54
@ -309,6 +309,7 @@ public abstract class ClassicPlotManager extends SquarePlotManager {
|
|||||||
if (!claim.equals(unclaim)) {
|
if (!claim.equals(unclaim)) {
|
||||||
setWall(plotworld, plot.id, new PlotBlock[] { unclaim });
|
setWall(plotworld, plot.id, new PlotBlock[] { unclaim });
|
||||||
}
|
}
|
||||||
|
MainUtil.removeSign(plot);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -337,6 +337,9 @@ public class MainUtil {
|
|||||||
final String world = p.world;
|
final String world = p.world;
|
||||||
final PlotManager manager = PlotSquared.getPlotManager(world);
|
final PlotManager manager = PlotSquared.getPlotManager(world);
|
||||||
final PlotWorld plotworld = PlotSquared.getPlotWorld(world);
|
final PlotWorld plotworld = PlotSquared.getPlotWorld(world);
|
||||||
|
if (!plotworld.ALLOW_SIGNS) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
final Location loc = manager.getSignLoc(plotworld, p);
|
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 });
|
BlockManager.setBlocks(world, new int[] { loc.getX() }, new int[] { loc.getY() }, new int[] { loc.getZ() }, new int[] { 0 }, new byte[] { 0 });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user