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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user