diff --git a/MCGalaxy/Commands/Fun/CmdReferee.cs b/MCGalaxy/Commands/Fun/CmdReferee.cs index b4149d2dd..87cd2ae3b 100644 --- a/MCGalaxy/Commands/Fun/CmdReferee.cs +++ b/MCGalaxy/Commands/Fun/CmdReferee.cs @@ -42,11 +42,9 @@ namespace MCGalaxy.Commands.Fun { if (p.Supports(CpeExt.InstantMOTD)) { p.SendMapMotd(); } else if (p.Supports(CpeExt.HackControl)) { - if (p.Game.Referee) { - p.Send(Packet.HackControl(true, true, true, true, true, -1)); - } else { - p.Send(Hacks.MakeHackControl(p, p.GetMotd())); - } + string motd = p.GetMotd(); + if (p.Game.Referee) motd += " +hax"; + p.Send(Hacks.MakeHackControl(p, motd)); } } diff --git a/MCGalaxy/Network/Player.Networking.cs b/MCGalaxy/Network/Player.Networking.cs index 73af5b844..ebfa4da83 100644 --- a/MCGalaxy/Network/Player.Networking.cs +++ b/MCGalaxy/Network/Player.Networking.cs @@ -202,8 +202,8 @@ namespace MCGalaxy { Send(packet); if (!Supports(CpeExt.HackControl)) return; + if (Game.Referee) motd += " +hax"; Send(Hacks.MakeHackControl(this, motd)); - if (Game.Referee) Send(Packet.HackControl(true, true, true, true, true, -1)); } readonly object joinLock = new object();