summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandclearinventory.java4
1 files 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<Player> 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