Addons that use DimensionTypes.GetAll() seem to set the world spawn to 0,0 when installed on first word load
world.getDimension("overworld") // works fine, even on first world start
// WILL reset spawn, even when done AFTER the first player joins
DimensionTypes.getAll().forEach(({typeId})=>{
const dimension = world.getDimension(typeId)
})
Weirdly, accessing the dimensions in any other way seems to work completely fine, as an example:
// Won't reset world spawn
world.getAllPlayers().forEach(player=>{
const dimension = player.dimension
})
This can cause certain addons to be harder to develop, as doing things such as getting all entities requires DimensionTypes.getAll(). This has been tested numerous times and each one achieved the same result.
Comments 0
No comments.