mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-14 20:12:35 +08:00
Merge remote-tracking branch 'origin/development' into development
This commit is contained in:
@@ -244,12 +244,6 @@ public class ScriptLib {
|
||||
Grasscutter.getLogger().warn("trying to get suite that doesn't exist: {} {}", groupId, suite);
|
||||
return 1;
|
||||
}
|
||||
// avoid spawn wrong monster
|
||||
if(getSceneScriptManager().getScene().getChallenge() != null)
|
||||
if(!getSceneScriptManager().getScene().getChallenge().inProgress() ||
|
||||
getSceneScriptManager().getScene().getChallenge().getGroup().id != groupId){
|
||||
return 0;
|
||||
}
|
||||
this.getSceneScriptManager().addGroupSuite(groupInstance, suiteData);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user