mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 08:25:07 +00:00
allow phase change to revert temp ice blocks if they were previously water
This commit is contained in:
parent
3bfb203c8c
commit
e7f2d5ce5d
1 changed files with 4 additions and 0 deletions
|
@ -382,6 +382,10 @@ public class PhaseChange extends IceAbility {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (isIce(tb.getBlock()) && ElementalAbility.isWater(tb.getState().getBlockData().getMaterial())) {
|
||||
tb.revertBlock();
|
||||
}
|
||||
} else if (isWater(b)) {
|
||||
// Figure out what to do here also.
|
||||
} else if (isIce(b)) {
|
||||
|
|
Loading…
Reference in a new issue