Fixed Fire Griefing Panes, Torches, etc

Fixed fire permanently removing blocks like glass panes and torches
This commit is contained in:
StrangeOne101 2015-08-03 17:05:02 +12:00
parent 6404fc8912
commit 99f5c7d893

View file

@ -223,8 +223,7 @@ public class FireBlast extends CoreAbility {
private void ignite(Location location) {
for (Block block : GeneralMethods.getBlocksAroundPoint(location, affectingradius)) {
if (FireStream.isIgnitable(player, block) && !safe.contains(block)) {
if (WaterMethods.isPlant(block))
new Plantbending(block);
new Plantbending(block);
block.setType(Material.FIRE);
if (dissipate) {
FireStream.ignitedblocks.put(block, player);