prevent confusion at /ci code

This commit is contained in:
Necrodoom 2013-03-25 15:28:39 +02:00 committed by KHobbits
parent c857832759
commit 98aa303ff5

View File

@ -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