mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-28 06:45:25 +08:00
Send QUEST_COND_NONE on every login (#2386)
For players that enabled questing late
This commit is contained in:
committed by
GitHub
Unverified
parent
5faf39d359
commit
b6e7d69949
@@ -221,14 +221,11 @@ public final class QuestManager extends BasePlayerManager {
|
||||
this.player.sendPacket(new PacketGivingRecordNotify(this.getGivingRecords()));
|
||||
}
|
||||
|
||||
public void onPlayerBorn() {
|
||||
public void onLogin() {
|
||||
if (this.isQuestingEnabled()) {
|
||||
this.enableQuests();
|
||||
this.sendGivingRecords();
|
||||
}
|
||||
}
|
||||
|
||||
public void onLogin() {
|
||||
|
||||
List<GameMainQuest> activeQuests = getActiveMainQuests();
|
||||
List<GameQuest> activeSubs = new ArrayList<>(activeQuests.size());
|
||||
|
||||
Reference in New Issue
Block a user