1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-20 05:21:21 +02:00

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]); List<Player> online = server.matchPlayer(args[0]);
@@ -98,7 +98,7 @@ public class Commandclearinventory extends EssentialsCommand
{ {
p.getInventory().clear(); p.getInventory().clear();
} }
user.sendMessage(_("inventoryClearedOthers", p.getDisplayName())); sender.sendMessage(_("inventoryClearedOthers", p.getDisplayName()));
} }
} }
else else