Implement passJumpDungeon. Make dungeons kick you out to the correct scene (#2366)

This commit is contained in:
Nazrin
2023-09-15 17:50:56 -07:00
committed by GitHub
parent 2643c6b3b7
commit c4dbb6851b
7 changed files with 15 additions and 7 deletions

View File

@@ -439,7 +439,7 @@ public class World implements Iterable<Player> {
}
if (oldScene != null && newScene != oldScene) {
newScene.setPrevScene(oldScene.getId());
newScene.setPrevScenePoint(oldScene.getPrevScenePoint());
oldScene.setDontDestroyWhenEmpty(false);
}