New movingworld entity cannot be created on deletion of dimension folder.
- Create a new MovingWorld
- Exit to menu
- Delete dimension folder that was associated with MovingWorld
- Go back into game
- Attempt creating a new MovingWorld
Expected: A new MovingWorld being created Actual: NullPointerException in cloneToSubworld
I'll try to fix this and submit a pull request later. Was just a little issue I noted when testing.
Should note that this is fixed upon restarting Minecraft.
On further testing this bug can be recreated by simply joining a world, leaving it, then rejoining and attempting to create a ship.
Fairly sure this is related to dimension registration and initialization. I'll take a look.
On Mar 13, 2017 10:04 AM, "Eric Pfister" [email protected] wrote:
On further testing this bug can be recreated by simply joining a world, leaving it, then rejoining and attempting to create a ship.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/elytra/MovingWorld/issues/37#issuecomment-286173480, or mute the thread https://github.com/notifications/unsubscribe-auth/ABusJHzhEVCSXX5oeQceHnzAJZP7eoM8ks5rlXcSgaJpZM4MapFM .
Just tested, It's related to world registration like I thought, registered dimensions aren't being cleared. Most of that code is temporary however and will be replaced with some more clean and sane code that will actually work on dedicated servers as well. I'll keep this open for now but I'm most likely going to leave things as is and focus on testing worlds as they are right now.