mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-15 08:25:21 +01:00
Parse dungeon entry info req from payload instead of player scene (#2122)
This commit is contained in:
@@ -26,8 +26,8 @@ public class DungeonSystem extends BaseGameSystem {
|
||||
super(server);
|
||||
}
|
||||
|
||||
public void getEntryInfo(Player player, int pointId) {
|
||||
ScenePointEntry entry = GameData.getScenePointEntryById(player.getScene().getId(), pointId);
|
||||
public void getEntryInfo(Player player, int pointId, int sceneId) {
|
||||
ScenePointEntry entry = GameData.getScenePointEntryById(sceneId, pointId);
|
||||
|
||||
if (entry == null) {
|
||||
// Error
|
||||
|
||||
Reference in New Issue
Block a user