mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Fixed WaterManipulation & IceBlast not changing plants to air once used as a source (#518)
This commit is contained in:
parent
2c076b50da
commit
3d77824286
2 changed files with 3 additions and 2 deletions
|
@ -260,12 +260,12 @@ public class IceSpikeBlast extends IceAbility {
|
|||
settingUp = true;
|
||||
prepared = false;
|
||||
|
||||
/*if (isPlant(sourceBlock)) {
|
||||
if (isPlant(sourceBlock)) {
|
||||
new PlantRegrowth(player, sourceBlock);
|
||||
sourceBlock.setType(Material.AIR);
|
||||
}
|
||||
|
||||
originalSource = new TempBlock(sourceBlock, Material.AIR, data);*/
|
||||
|
||||
}
|
||||
|
||||
public static void activate(Player player) {
|
||||
|
|
|
@ -153,6 +153,7 @@ public class WaterManipulation extends WaterAbility {
|
|||
|
||||
if (isPlant(sourceBlock)) {
|
||||
new PlantRegrowth(player, sourceBlock);
|
||||
sourceBlock.setType(Material.AIR);
|
||||
} else if (!isIce(sourceBlock)) {
|
||||
addWater(sourceBlock);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue