mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-06 14:46:32 +02:00
Fix local message when no players are in the area
Allow any translation key to be silenced by blanking it in locale file
This commit is contained in:
@@ -130,13 +130,13 @@ public class EssentialsChatPlayerListenerNormal extends EssentialsChatPlayer
|
||||
{
|
||||
spyList.add(onlinePlayer);
|
||||
}
|
||||
outList.remove(onlinePlayer);
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (outList.size() < 2) {
|
||||
event.getPlayer().sendMessage(_("localNoOne"));
|
||||
user.sendMessage(_("localNoOne"));
|
||||
}
|
||||
|
||||
LocalChatSpyEvent spyEvent = new LocalChatSpyEvent(event.isAsynchronous(), event.getPlayer(), event.getFormat(), event.getMessage(), spyList);
|
||||
|
Reference in New Issue
Block a user