Add realm switching

Fix realm unlock items
This commit is contained in:
NotThorny
2023-01-27 17:28:22 -07:00
parent 70e448d8bc
commit 9aecc904f6
8 changed files with 1834 additions and 1 deletions

View File

@@ -386,6 +386,11 @@ public class Player {
return;
}
this.realmList.add(realmId);
// Tell the client the realm is unlocked
if(realmId > 3){ // Realms 3 and below are default 'unlocked'
this.sendPacket(new PacketHomeModuleUnlockNotify(realmId)); // Update needs scene change?
}
}
public int getExpeditionLimit() {