-
-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server crash on player disconnect (something in PlayerQuitEvent) #219
Comments
We cannot accept stack traces from software that isn't ours |
I tried to reproduce this issue on full empty server, only with plugin with PlayerQuitEvent, tried to teleport player to different worlds, but there is no crash. But I can still reproduce this crash with my plugins on clear folia. This stack traces doesnt contains my methods, that is why I created this issue This server is running Folia version git-Folia-"25ee657" (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 25ee657)\nYou are running the latest version
|
player.teleportAsync(loc) for (PotionEffect effect : player.getActivePotionEffects()) { these actions on a player quit are kind of "dumb", you should schedule those actions for the new player join event instead |
Stack trace
Plugin and Datapack List
MyOwnPlugin, GrimAC, Chunky, ProtocolLib, ViaBackwards, ViaVersion, WorldEdit, spark
Actions to reproduce (if known)
I have my own duels minigame plugin, when a player leaves from a duel (disconnect, command) I call:
On paper it was fine to do this on PlayerQuitEvent, I have disabled calling these methods and the server stopped crashing on player disconnect.
Folia version
git-Folia-"2986554" (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 2986554)
Other
I patched folia myself for some changes for my server, but also on "clear" folia with last commit 25ee657 I can reproduce same issue
The text was updated successfully, but these errors were encountered: