mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-18 22:24:35 +00:00
Fixed Fire Griefing Panes, Torches, etc
Fixed fire permanently removing blocks like glass panes and torches
This commit is contained in:
parent
6404fc8912
commit
99f5c7d893
1 changed files with 1 additions and 2 deletions
|
@ -223,8 +223,7 @@ public class FireBlast extends CoreAbility {
|
||||||
private void ignite(Location location) {
|
private void ignite(Location location) {
|
||||||
for (Block block : GeneralMethods.getBlocksAroundPoint(location, affectingradius)) {
|
for (Block block : GeneralMethods.getBlocksAroundPoint(location, affectingradius)) {
|
||||||
if (FireStream.isIgnitable(player, block) && !safe.contains(block)) {
|
if (FireStream.isIgnitable(player, block) && !safe.contains(block)) {
|
||||||
if (WaterMethods.isPlant(block))
|
new Plantbending(block);
|
||||||
new Plantbending(block);
|
|
||||||
block.setType(Material.FIRE);
|
block.setType(Material.FIRE);
|
||||||
if (dissipate) {
|
if (dissipate) {
|
||||||
FireStream.ignitedblocks.put(block, player);
|
FireStream.ignitedblocks.put(block, player);
|
||||||
|
|
Loading…
Reference in a new issue