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

Transfer entity to unloaded but enabled world is not possible #2253

Open
thibaulthenry opened this issue Nov 10, 2020 · 0 comments
Open

Transfer entity to unloaded but enabled world is not possible #2253

thibaulthenry opened this issue Nov 10, 2020 · 0 comments
Labels
api: 7 (u) version: 1.12

Comments

@thibaulthenry
Copy link
Contributor

SpongeVanilla version: 1.12.2-7.3.0
Java version: 8
Operating System: Windows 10
Plugins: only my plugin in development (cosmos)

Hey,

A small ticket to inform that it is not possible to transfer an entity to an unloaded & enabled world as the docs says.

Capture
Capture2

(screens from the API)

Indeed, the method Server#getWorld is used but it only targets loaded worlds, so the optional World is always empty and the method transferToWorld wrapped in map is never reached for an unloaded world.

Thank you for reading this issue.

@dualspiral dualspiral added the api: 7 (u) version: 1.12 label Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: 7 (u) version: 1.12
Projects
None yet
Development

No branches or pull requests

2 participants