mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-23 16:41:38 +01:00
prevent confusion at /ci code
This commit is contained in:
parent
c857832759
commit
98aa303ff5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user