feat: set friend enter home option (#1860)

This commit is contained in:
hamusuke
2022-10-16 00:58:45 +09:00
committed by GitHub
Unverified
parent a4747abfc9
commit 610a364b9a
9 changed files with 1207 additions and 3 deletions
@@ -23,6 +23,7 @@ public class PacketPlayerHomeCompInfoNotify extends BasePacket {
PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.newBuilder()
.addAllUnlockedModuleIdList(player.getRealmList())
.addAllLevelupRewardGotLevelList(List.of(1)) // Hardcoded
.setFriendEnterHomeOptionValue(player.getHome().getEnterHomeOption())
.build()
)
.build();