mirror of
https://github.com/Auxilor/EcoArmor.git
synced 2025-12-28 03:19:25 +00:00
Changed Effect disabling
This commit is contained in:
@@ -93,10 +93,6 @@ public abstract class Effect<T> implements Listener {
|
||||
* @param player The player.
|
||||
*/
|
||||
public final void disable(@NotNull final Player player) {
|
||||
if (!enabledPlayers.contains(player.getUniqueId())) {
|
||||
return;
|
||||
}
|
||||
|
||||
enabledPlayers.remove(player.getUniqueId());
|
||||
|
||||
this.onDisable(player);
|
||||
|
||||
Reference in New Issue
Block a user