mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Merge pull request #197 from Simplicitee/patch-1
Fix NPE in AvatarState
This commit is contained in:
commit
7d6e23e14a
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ public class AvatarState {
|
|||
private boolean progress() {
|
||||
if (player.isDead() || !player.isOnline()) {
|
||||
instances.remove(player);
|
||||
return false;
|
||||
}
|
||||
if (!GeneralMethods.canBend(player.getName(), StockAbility.AvatarState.name())) {
|
||||
instances.remove(player);
|
||||
|
|
Loading…
Reference in a new issue