summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2014-07-14 21:23:56 +0100
committerKHobbits <rob@khobbits.co.uk>2014-07-14 21:23:56 +0100
commit8c40d295c1495addc4c609c100d198736a9ee523 (patch)
tree2fd93eb22b49f011132c021aafbd32894c02313c /Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
parenta942b8bbdfe0756dd4f53d34c8725fdc52359ebc (diff)
downloadEssentials-8c40d295c1495addc4c609c100d198736a9ee523.tar
Essentials-8c40d295c1495addc4c609c100d198736a9ee523.tar.gz
Essentials-8c40d295c1495addc4c609c100d198736a9ee523.tar.lz
Essentials-8c40d295c1495addc4c609c100d198736a9ee523.tar.xz
Essentials-8c40d295c1495addc4c609c100d198736a9ee523.zip
Clean up tempban messages to be a little clearer.
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandbanip.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandbanip.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
index fa0dcb449..f538ba4ae 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java
@@ -62,7 +62,7 @@ public class Commandbanip extends EssentialsCommand
banReason = tl("defaultBanReason");
}
- Bukkit.getBanList(BanList.Type.IP).addBan(ipAddress, banReason, null, senderName);
+ ess.getServer().getBanList(BanList.Type.IP).addBan(ipAddress, banReason, null, senderName);
server.getLogger().log(Level.INFO, tl("playerBanIpAddress", senderName, ipAddress, banReason));
ess.broadcastMessage("essentials.ban.notify", tl("playerBanIpAddress", senderName, ipAddress, banReason));