mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49:32 +00:00
Fix WaterBubble not working
This commit is contained in:
parent
497e464cc8
commit
31177b4d98
|
@ -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