summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandban.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/Commandban.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/Commandban.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandban.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandban.java b/Essentials/src/com/earth2me/essentials/commands/Commandban.java
index 50b459a06..7a594c8d2 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandban.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandban.java
@@ -63,7 +63,7 @@ public class Commandban extends EssentialsCommand
banReason = tl("defaultBanReason");
}
- Bukkit.getBanList(BanList.Type.NAME).addBan(user.getName(), banReason, null, senderName);
+ ess.getServer().getBanList(BanList.Type.NAME).addBan(user.getName(), banReason, null, senderName);
String banDisplay = tl("banFormat", banReason, senderName);