mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
make players command only output to the player requesting if there's 10 or more players
This commit is contained in:
@@ -451,7 +451,10 @@ class ClientMessageProcessor(CommandProcessor):
|
||||
|
||||
def _cmd_players(self):
|
||||
"""Get information about connected and missing players"""
|
||||
notify_all(self.ctx, get_players_string(self.ctx))
|
||||
if len(self.ctx.player_names) < 10:
|
||||
notify_all(self.ctx, get_players_string(self.ctx))
|
||||
else:
|
||||
self.output(get_players_string(self.ctx))
|
||||
|
||||
def _cmd_forfeit(self):
|
||||
"""Surrender and send your remaining items out to their recipients"""
|
||||
|
Reference in New Issue
Block a user