9
0
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:
Auxilor
2021-02-20 21:07:34 +00:00
parent fe3d33e55a
commit eeb2c9e5b5

View File

@@ -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);