mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +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() {
|
||||
if (player.isDead() || !player.isOnline()) {
|
||||
remove();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!player.getWorld().equals(location.getWorld())) {
|
||||
remove();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (GeneralMethods.getBoundAbility(player) == null) {
|
||||
remove();
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue