summaryrefslogtreecommitdiffstats
path: root/Essentials/src/net/ess3/commands/Commandunbanip.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/net/ess3/commands/Commandunbanip.java')
-rw-r--r--Essentials/src/net/ess3/commands/Commandunbanip.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/Essentials/src/net/ess3/commands/Commandunbanip.java b/Essentials/src/net/ess3/commands/Commandunbanip.java
index 2feaa2e5a..1fd07f09b 100644
--- a/Essentials/src/net/ess3/commands/Commandunbanip.java
+++ b/Essentials/src/net/ess3/commands/Commandunbanip.java
@@ -1,6 +1,5 @@
package net.ess3.commands;
-import lombok.Cleanup;
import static net.ess3.I18n._;
import net.ess3.api.IUser;
import org.bukkit.command.CommandSender;
@@ -17,9 +16,7 @@ public class Commandunbanip extends EssentialsCommand
}
try
{
- @Cleanup
final IUser user = ess.getUserMap().matchUser(args[0], false, true);
- user.acquireReadLock();
ess.getServer().unbanIP(user.getData().getIpAddress());
}
catch (Exception ex)