mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-15 08:25:21 +01:00
Fix errors in chasm
This commit is contained in:
@@ -910,8 +910,8 @@ public final class Scene {
|
||||
|
||||
public int loadDynamicGroup(int group_id) {
|
||||
SceneGroup group = getScriptManager().getGroupById(group_id);
|
||||
if (group == null || getScriptManager().getGroupInstanceById(group_id) != null)
|
||||
return -1; // Group not found or already instanced
|
||||
if (group == null)
|
||||
return -1; // Group not found
|
||||
|
||||
this.onLoadGroup(new ArrayList<>(List.of(group)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user