FIx null ref

This commit is contained in:
D1GQ committed 2026-03-18 21:36:03 -05:00
1 parent 275cb6c98e
commit 919a82648f
1 file changed
+3
@@ -12,6 +12,9 @@ internal class CheckPlayerLevelPatch
[HarmonyPostfix]
private static void PlayerControl_FixedUpdate_Postfix(PlayerControl __instance)
{
if (__instance.Data == null)
return;
if (GameState.IsHost && GameState.IsLobby)
{
// Kick players below minimum level