mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-14 06:14:45 +01:00
Use proper entrance for leaving SU
This commit is contained in:
@@ -29,6 +29,9 @@ public class GameConstants {
|
||||
public static final int START_ENTRY_ID = 2000101;
|
||||
public static final Position START_POS = new Position(99, 62, -4800);
|
||||
|
||||
// Rogue
|
||||
public static final int ROGUE_LEAVE_ENTRANCE = 801120102;
|
||||
|
||||
// Custom
|
||||
public static final int SERVER_CONSOLE_UID = 99;
|
||||
public static final int EQUIPMENT_SLOT_ID = 100;
|
||||
|
||||
@@ -3,6 +3,7 @@ package emu.lunarcore.game.rogue;
|
||||
import java.util.Arrays;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import emu.lunarcore.GameConstants;
|
||||
import emu.lunarcore.data.GameData;
|
||||
import emu.lunarcore.data.GameDepot;
|
||||
import emu.lunarcore.data.config.AnchorInfo;
|
||||
@@ -97,7 +98,7 @@ public class RogueManager extends BasePlayerManager {
|
||||
}
|
||||
|
||||
getPlayer().setRogueData(null);
|
||||
getPlayer().enterScene(8011201, 0, true); // Test
|
||||
getPlayer().enterScene(GameConstants.ROGUE_LEAVE_ENTRANCE, 0, true); // Test
|
||||
getPlayer().getSession().send(CmdId.QuitRogueScRsp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user