No more placing TNT in besieged land claims.

This commit is contained in:
ryanhamshire 2015-09-14 20:02:40 -07:00
parent 3214363aca
commit 1d4ce2f9ee

View File

@ -325,9 +325,6 @@ public class Claim
//if we don't know who's asking, always say no (i've been told some mods can make this happen somehow)
if(player == null) return "";
//if under siege, tnt may be placed and ignited
if(this.siegeData != null && (material == Material.FIRE || material == Material.TNT)) return null;
//when a player tries to build in a claim, if he's under siege, the siege may extend to include the new claim
GriefPrevention.instance.dataStore.tryExtendSiege(player, this);