mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-22 21:43:41 +00:00
Updates for banning
Removing the ban workaround We might remove the ban commands completely.
This commit is contained in:
parent
b828222176
commit
4c6cc5ced0
15 changed files with 141 additions and 197 deletions
|
@ -20,7 +20,7 @@ public class Commandbanip extends EssentialsCommand
|
|||
throw new NotEnoughArgumentsException();
|
||||
}
|
||||
|
||||
ess.getBans().banByIp(args[0]);
|
||||
ess.getServer().banIP(args[0]);
|
||||
sender.sendMessage(Util.i18n("banIpAddress"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue