mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-14 21:07:54 +00:00
commit
a7e97e86f1
1 changed files with 10 additions and 0 deletions
|
@ -261,6 +261,16 @@ public class Fireball implements ConfigLoadable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean progress() {
|
public boolean progress() {
|
||||||
|
if (player.isDead() || !player.isOnline()) {
|
||||||
|
remove();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!player.getWorld().equals(location.getWorld())) {
|
||||||
|
remove();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (GeneralMethods.getBoundAbility(player) == null) {
|
if (GeneralMethods.getBoundAbility(player) == null) {
|
||||||
remove();
|
remove();
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue