Skip to content

Commit a729aa0

Browse files
Fix -hax (and motd in general) not applying on initial spawn world join. (Thanks 123DMWM)
1 parent 6f5cc28 commit a729aa0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fCraft/Network/Player.Networking.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ bool LoginSequence()
834834
}
835835
}
836836
SendNow(Packet.MakeHandshake(this, serverName, motd));
837+
SendNow(Packet.MakeSetPermission(this));
837838

838839
// AutoRank
839840
if (ConfigKey.AutoRankEnabled.Enabled())
@@ -1002,7 +1003,7 @@ bool LoginSequence()
10021003
oldskinName = Info.skinName;
10031004
Info.skinName = Name;
10041005
}
1005-
Send(Packet.MakeSetPermission(this));
1006+
10061007
Server.UpdateTabList(true);
10071008
System.Console.Beep();
10081009
System.Console.Beep();

0 commit comments

Comments
 (0)