Skip to content
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

Error when unloading the world #41

Open
Optima-L opened this issue Jan 10, 2025 · 1 comment
Open

Error when unloading the world #41

Optima-L opened this issue Jan 10, 2025 · 1 comment

Comments

@Optima-L
Copy link

After unloading the world, the console starts spamming errors
Paper 1.21.3

[22:18:45] [AxMinions-EntityTracker-2/ERROR]: [EntityTracker] Failed to track entity with id 51 in world 443b3359-1cdf-4c38-85b7-d271cbbba68e, due to tracker players being null! Tracking: {CraftWorld{name=lobby}=[], CraftWorld{name=lobby_nether}=[], CraftWorld{name=lobby_the_end}=[]}
[22:18:45] [AxMinions-EntityTracker-0/ERROR]: [EntityTracker] Failed to track entity with id 52 in world 443b3359-1cdf-4c38-85b7-d271cbbba68e, due to tracker players being null! Tracking: {CraftWorld{name=lobby}=[], CraftWorld{name=lobby_nether}=[], CraftWorld{name=lobby_the_end}=[]}
[22:18:45] [AxMinions-EntityTracker-2/ERROR]: [EntityTracker] Failed to track entity with id 52 in world 443b3359-1cdf-4c38-85b7-d271cbbba68e, due to tracker players being null! Tracking: {CraftWorld{name=lobby}=[], CraftWorld{name=lobby_nether}=[], CraftWorld{name=lobby_the_end}=[]}
[22:18:45] [AxMinions-EntityTracker-1/ERROR]: [EntityTracker] Failed to track entity with id 51 in world 443b3359-1cdf-4c38-85b7-d271cbbba68e, due to tracker players being null! Tracking: {CraftWorld{name=lobby}=[], CraftWorld{name=lobby_nether}=[], CraftWorld{name=lobby_the_end}=[]}
[22:18:45] [AxMinions-EntityTracker-2/ERROR]: [EntityTracker] Failed to track entity with id 52 in world 443b3359-1cdf-4c38-85b7-d271cbbba68e, due to tracker players being null! Tracking: {CraftWorld{name=lobby}=[], CraftWorld{name=lobby_nether}=[], CraftWorld{name=lobby_the_end}=[]}

@Optima-L
Copy link
Author

to fix I think you need to Entity#remove the minion when the world is unloaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant