Report general bugs for the SwitchCraft 3 server here. This tracker is NOT for exploits - please disclose those responsibly and privately to a member of staff.
1
stars
0
forks
source link
chatbox `players` event does not actually include player that joined #83
If you join the game, the chatbox players event will not actually include your player object unless it is sent again. This may be some sort of timing issue. This makes the result of chatbox.getPlayers() and chatbox.getPlayerList() inaccurate.
To reproduce
Leave the game
Join again
check chatbox.getPlayerList()
notice that you are not in it
Expected behavior
The players event should include the player that joined when it is sent.
(Please do not feel pressured to fix this issue until after SwitchMarket is complete! 😉)
Describe the bug
If you join the game, the chatbox
players
event will not actually include your player object unless it is sent again. This may be some sort of timing issue. This makes the result ofchatbox.getPlayers()
andchatbox.getPlayerList()
inaccurate.To reproduce
chatbox.getPlayerList()
Expected behavior
The
players
event should include the player that joined when it is sent. (Please do not feel pressured to fix this issue until after SwitchMarket is complete! 😉)Relevant log output
No response
Please confirm