Add some missing hidden checks

This commit is contained in:
KHobbits 2013-03-19 23:24:06 +00:00
parent 8f6c61fa99
commit 896e14670f
7 changed files with 48 additions and 31 deletions

View file

@ -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()));