diff --git a/src/main/java/com/thezorro266/bukkit/srm/templates/TemplateSell.java b/src/main/java/com/thezorro266/bukkit/srm/templates/TemplateSell.java index fa11a6e..fbe9033 100644 --- a/src/main/java/com/thezorro266/bukkit/srm/templates/TemplateSell.java +++ b/src/main/java/com/thezorro266/bukkit/srm/templates/TemplateSell.java @@ -132,11 +132,9 @@ public void setRegionOccupied(Region region, boolean isOccupied) { @Override public void clearRegion(Region region) { - if (isRegionOccupied(region)) { - setRegionOccupied(region, false); - setRegionMembers(region, new OfflinePlayer[] {}); - setRegionOwners(region, new OfflinePlayer[] {}); - } + setRegionOccupied(region, false); + setRegionMembers(region, new OfflinePlayer[] {}); + setRegionOwners(region, new OfflinePlayer[] {}); } @Override @@ -267,7 +265,7 @@ public Sign makeSign(Player player, Block block, HashMap inputMa region.setOption("price", price); region.setOption("account", account); - setRegionOccupied(region, false); + clearRegion(region); return region.addBlockAsSign(block); }