mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-02-05 01:32:15 +01:00
Add realm switching
Fix realm unlock items
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user