Allow the player to finish dungeons

This commit is contained in:
Melledy
2022-04-29 00:49:05 -07:00
parent 8ab2b446cd
commit 72e9a21ce3
6 changed files with 40 additions and 3 deletions

View File

@@ -44,6 +44,8 @@ public class DungeonManager {
return;
}
Grasscutter.getLogger().info(player.getNickname() + " is trying to enter dungeon " + dungeonId);
int sceneId = data.getSceneId();
player.getScene().setPrevScene(sceneId);