mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-15 02:44:01 +08:00
various small bug fixes (#2270)
* various small bug fixes * Upgrade warning to error * A few more state changes to match the others in this pull
This commit is contained in:
committed by
GitHub
Unverified
parent
fe169398ec
commit
47971dc931
@@ -215,7 +215,13 @@ public class SceneScriptManager {
|
||||
var suiteData = group.getSuiteByIndex(suiteIndex);
|
||||
if (suiteData == null) {
|
||||
Grasscutter.getLogger().warn("Group {} suite {} not found", group.id, suiteIndex);
|
||||
return 0;
|
||||
group.setLoaded(false);
|
||||
group.load(this.scene.getId());
|
||||
suiteData = group.getSuiteByIndex(suiteIndex);
|
||||
if (suiteData == null) {
|
||||
return 0;
|
||||
}
|
||||
Grasscutter.getLogger().error("Group {} suite {} nvm, I found it. This is BAD", group.id, suiteIndex);
|
||||
}
|
||||
|
||||
int prevSuiteIndex = groupInstance.getActiveSuiteId();
|
||||
|
||||
Reference in New Issue
Block a user