Conversation
|
I don't think this is a solution to the root problem,I'm ready to close it. |
|
Iirc local hub is never null (also no need to check if it's null) and ref hub of not null player also always not null. Can you remove some null checks and see if something changes? |
|
I tried to directly remove this piece of code, and it worked fine. |
|
But I don't have a local deployment of the Exiled compilation environment, so I can only compile through actions and haven't done more testing. Essentially, this pull request also directly skips this piece of code, making no substantial difference, so I closed it. |
Yeah, this check was added and seems to be a cause of problem. But if we remove it, |
Description
Describe the changes
Added some null judgments before the code of merge #148
What is the current behavior? (You can also link to an open issue here)
Throwing an error message when the player enters the server
The server encountered a situation where players can only see a portion of the player models. For example, if there are 12 surviving players, they can only spectate two of them.
What is the new behavior? (if this is a feature change)
Players who enter the server now can view all alive players
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Other information:
I cannot determine if this fix will cause other errors, so it may be necessary to continue monitoring it or adopt other methods to address this issue.
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other