mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-01-10 17:08:06 +00:00
Fix WaterBubble not working
This commit is contained in:
parent
497e464cc8
commit
31177b4d98
1 changed files with 7 additions and 1 deletions
|
@ -73,7 +73,13 @@ public class AirBubble extends AirAbility {
|
|||
|
||||
@Override
|
||||
public void progress() {
|
||||
if (!player.isSneaking() || !bPlayer.canBend(this)) {
|
||||
if (!player.isSneaking()) {
|
||||
remove();
|
||||
return;
|
||||
} else if (!waterBubble && !bPlayer.canBend(this)) {
|
||||
remove();
|
||||
return;
|
||||
} else if (waterBubble && !bPlayer.canBend(getAbility("WaterBubble"))) {
|
||||
remove();
|
||||
return;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue