mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-28 08:24:25 +00:00
New permission: essentials.repair.armor
If a player has this permission '/repair all' will also repair equipped armor.
This commit is contained in:
parent
f51b92c99e
commit
e4c3f7b115
2 changed files with 5 additions and 2 deletions
|
@ -31,7 +31,8 @@ public class Commandbanip extends EssentialsCommand
|
|||
else
|
||||
{
|
||||
final String ipAddress = u.getLastLoginAddress();
|
||||
if (ipAddress.length() == 0) {
|
||||
if (ipAddress.length() == 0)
|
||||
{
|
||||
throw new Exception(Util.i18n("playerNotFound"));
|
||||
}
|
||||
ess.getServer().banIP(u.getLastLoginAddress());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue