mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-21 03:03:46 -04:00
Fix doing /me from console not showing on IRC and erroring instead
This commit is contained in:
parent
a46a07c315
commit
b899c07036
@ -122,7 +122,8 @@ namespace MCGalaxy.Network {
|
||||
}
|
||||
|
||||
void HandlePlayerAction(Player p, PlayerAction action, string message, bool stealth) {
|
||||
if (!p.level.SeesServerWideChat || action != PlayerAction.Me) return;
|
||||
if (action != PlayerAction.Me) return;
|
||||
if (p.level != null && p.level.SeesServerWideChat) return;
|
||||
bot.Say("*" + p.DisplayName + " " + message, stealth);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user