mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-07 13:05:41 +00:00
ugh
This commit is contained in:
parent
73f259c039
commit
d1b9c31eca
@ -27,7 +27,7 @@ namespace QSB.Player
|
||||
return localInstance.Player;
|
||||
}
|
||||
}
|
||||
public static uint LocalPlayerId => LocalPlayer.PlayerId;
|
||||
public static uint LocalPlayerId => LocalPlayer?.PlayerId ?? uint.MaxValue;
|
||||
|
||||
/// <summary>
|
||||
/// called right after player is added
|
||||
|
@ -113,11 +113,9 @@ namespace QSB
|
||||
|
||||
// WorldObject managers
|
||||
QSBWorldSync.Managers = typeof(WorldObjectManager).GetDerivedTypes()
|
||||
.Select(x => (WorldObjectManager)this.gameObject.AddComponent(x))
|
||||
.Select(x => (WorldObjectManager)gameObject.AddComponent(x))
|
||||
.ToArray();
|
||||
|
||||
Helper.HarmonyHelper.EmptyMethod<ModCommandListener>("Update");
|
||||
|
||||
QSBPatchManager.OnPatchType += OnPatchType;
|
||||
QSBPatchManager.OnUnpatchType += OnUnpatchType;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user