mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-08 21:15:54 +08:00
Remove obsolete code in ScriptLib.java (#2263)
This commit is contained in:
parent
a4d5de06d1
commit
d62394e35e
@ -256,12 +256,6 @@ public class ScriptLib {
|
|||||||
Grasscutter.getLogger().warn("trying to get suite that doesn't exist: {} {}", groupId, suite);
|
Grasscutter.getLogger().warn("trying to get suite that doesn't exist: {} {}", groupId, suite);
|
||||||
return 1;
|
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);
|
this.getSceneScriptManager().addGroupSuite(groupInstance, suiteData);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user