mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-19 02:15:45 +01:00
Do not unload groups asked for by quests (#2212)
This commit is contained in:
@@ -266,15 +266,15 @@ public class SceneScriptManager {
|
||||
suiteId,
|
||||
groupId,
|
||||
getScene().getId());
|
||||
} else {
|
||||
Grasscutter.getLogger().debug("Refreshing group {} suite {}", groupId, suiteId);
|
||||
suiteId =
|
||||
refreshGroup(
|
||||
targetGroupInstance,
|
||||
suiteId,
|
||||
false); // If suiteId is zero, the value of suiteId changes
|
||||
scene.broadcastPacket(new PacketGroupSuiteNotify(groupId, suiteId));
|
||||
if (targetGroupInstance == null) return false;
|
||||
}
|
||||
Grasscutter.getLogger().debug("Refreshing group {} suite {}", groupId, suiteId);
|
||||
suiteId =
|
||||
refreshGroup(
|
||||
targetGroupInstance,
|
||||
suiteId,
|
||||
false); // If suiteId is zero, the value of suiteId changes
|
||||
scene.broadcastPacket(new PacketGroupSuiteNotify(groupId, suiteId));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user