Handle more achievements

This commit is contained in:
Melledy committed 2025-11-30 23:16:37 -08:00
1 parent 6f7a92725a
commit 585734c2f3
9 files changed
+169 -46

No files matched your search

+1 -12
View File
@@ -193,18 +193,7 @@ public class GameSession {
}
// Check handbook states
if (this.getPlayer().getCharacters().isUpdateCharHandbook()) {
getPlayer().getCharacters().setUpdateCharHandbook(false);
getPlayer().addNextPackage(
NetMsgId.handbook_change_notify,
this.getPlayer().getCharacters().getCharacterHandbook());
}
if (this.getPlayer().getCharacters().isUpdateDiscHandbook()) {
getPlayer().getCharacters().setUpdateDiscHandbook(false);
getPlayer().addNextPackage(
NetMsgId.handbook_change_notify,
this.getPlayer().getCharacters().getDiscHandbook());
}
this.getPlayer().getCharacters().checkPlayerState();
}
private ProtoMessage<?> addNextPackages(ProtoMessage<?> proto) {