Cash shop transition patch

Solved an issue where players were being unable to return to the game once exiting the cash shop.
This commit is contained in:
ronancpl
2019-03-27 13:27:38 -03:00
parent 83266508af
commit 16deacb426
5 changed files with 8 additions and 6 deletions

View File

@@ -487,6 +487,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
}
public void setAwayFromChannelWorld() {
client.getSession().setAttribute(MapleClient.CLIENT_CASH_SHOP);
setAwayFromChannelWorld(false);
}

View File

@@ -91,6 +91,7 @@ public class MapleClient {
public static final String CLIENT_HWID = "HWID";
public static final String CLIENT_NIBBLEHWID = "HWID2";
public static final String CLIENT_REMOTE_ADDRESS = "REMOTE_IP";
public static final String CLIENT_CASH_SHOP = "CASH_SHOP";
private MapleAESOFB send;
private MapleAESOFB receive;
private final IoSession session;