mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +00:00
Add check
- Adds check, in stopBending(), for invincible being empty or not, clears it if so
This commit is contained in:
parent
f025631a17
commit
94e4a6bc43
1 changed files with 2 additions and 0 deletions
|
@ -1974,6 +1974,8 @@ public class GeneralMethods {
|
||||||
Flight.removeAll();
|
Flight.removeAll();
|
||||||
TempBlock.removeAll();
|
TempBlock.removeAll();
|
||||||
MultiAbilityManager.removeAll();
|
MultiAbilityManager.removeAll();
|
||||||
|
if (!invincible.isEmpty())
|
||||||
|
invincible.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void stopPlugin() {
|
public static void stopPlugin() {
|
||||||
|
|
Loading…
Reference in a new issue