mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fix
This commit is contained in:
1 parent
d6b41fa38e
commit
22265fcf8e
18 files changed
+91
-28
No files matched your search
@@ -884,7 +884,7 @@ internal static class ExtendedPlayerControl
|
||||
return Main.PlayerStates.TryGetValue(player.PlayerId, out PlayerState state) ? state.TaskState : new();
|
||||
}
|
||||
|
||||
public static bool IsNonHostModClient(this PlayerControl pc)
|
||||
public static bool IsNonHostModdedClient(this PlayerControl pc)
|
||||
{
|
||||
return pc.IsModdedClient() && !pc.IsHost();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user