From 98aa303ff5c54850bc659d15550a2c3055208b45 Mon Sep 17 00:00:00 2001 From: Necrodoom Date: Mon, 25 Mar 2013 15:28:39 +0200 Subject: prevent confusion at /ci code --- .../src/com/earth2me/essentials/commands/Commandclearinventory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java b/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java index 5f521fa25..5ca434fc6 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java @@ -82,7 +82,7 @@ public class Commandclearinventory extends EssentialsCommand } } - private void cleanInventoryOthers(Server server, CommandSender user, String[] args) throws Exception + private void cleanInventoryOthers(Server server, CommandSender sender, String[] args) throws Exception { List online = server.matchPlayer(args[0]); @@ -98,7 +98,7 @@ public class Commandclearinventory extends EssentialsCommand { p.getInventory().clear(); } - user.sendMessage(_("inventoryClearedOthers", p.getDisplayName())); + sender.sendMessage(_("inventoryClearedOthers", p.getDisplayName())); } } else -- cgit v1.2.3