mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-26 15:33:56 +00:00
Add some missing hidden checks
This commit is contained in:
parent
8f6c61fa99
commit
896e14670f
7 changed files with 48 additions and 31 deletions
|
@ -45,6 +45,11 @@ public class Commandext extends EssentialsCommand
|
|||
final List<Player> matchedPlayers = server.matchPlayer(name);
|
||||
for (Player matchPlayer : matchedPlayers)
|
||||
{
|
||||
final User player = ess.getUser(matchPlayer);
|
||||
if (player.isHidden())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
foundUser = true;
|
||||
matchPlayer.setFireTicks(0);
|
||||
sender.sendMessage(_("extinguishOthers", matchPlayer.getDisplayName()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue