diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandban.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandban.java | 2 |
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); |