Set instance world to 0 when teleporting with community board.
Contributed by facab.
This commit is contained in:
@@ -177,6 +177,8 @@ public final class HomeBoard implements IParseBoardHandler
|
||||
{
|
||||
activeChar.sendPacket(new ShowBoard());
|
||||
activeChar.destroyItemByItemId("CB_Teleport", Config.COMMUNITYBOARD_CURRENCY, Config.COMMUNITYBOARD_TELEPORT_PRICE, activeChar, true);
|
||||
activeChar.setIsIn7sDungeon(false);
|
||||
activeChar.setInstanceId(0);
|
||||
activeChar.teleToLocation(Config.COMMUNITY_AVAILABLE_TELEPORTS.get(teleBuypass), 0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user