SpongeAPI icon indicating copy to clipboard operation
SpongeAPI copied to clipboard

Transfer entity to unloaded but enabled world is not possible

Open thibaulthenry opened this issue 5 years ago • 0 comments

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.

thibaulthenry avatar Nov 10 '20 18:11 thibaulthenry