mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-26 23:05:27 +08:00
Fixed issue with scene groups after merge
This commit is contained in:
parent
81183db104
commit
df580bf519
@ -15,7 +15,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
import static emu.grasscutter.Configuration.SCRIPTS_FOLDER;
|
import static emu.grasscutter.Configuration.*;
|
||||||
|
|
||||||
@ToString
|
@ToString
|
||||||
@Setter
|
@Setter
|
||||||
@ -68,7 +68,7 @@ public class SceneGroup {
|
|||||||
setLoaded(true);
|
setLoaded(true);
|
||||||
|
|
||||||
CompiledScript cs = ScriptLoader.getScriptByPath(
|
CompiledScript cs = ScriptLoader.getScriptByPath(
|
||||||
SCRIPTS_FOLDER + "Scene/" + sceneId + "/scene" + sceneId + "_group" + id + "." + ScriptLoader.getScriptType());
|
SCRIPT("Scene/" + sceneId + "/scene" + sceneId + "_group" + id + "." + ScriptLoader.getScriptType()));
|
||||||
|
|
||||||
if (cs == null) {
|
if (cs == null) {
|
||||||
return this;
|
return this;
|
||||||
|
Loading…
Reference in New Issue
Block a user