diff --git a/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java b/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java index ad67fbbc4..bf459cb4d 100644 --- a/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java +++ b/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java @@ -813,7 +813,8 @@ public class SceneScriptManager { .filter( t -> t.getName().substring(13).equals(String.valueOf(params.param1)) - && (t.getSource().isEmpty() || t.getSource().equals(params.getEventSource()))) + && (t.getSource().isEmpty() + || t.getSource().equals(params.getEventSource()))) .collect(Collectors.toSet()); default -> this.getTriggersByEvent(eventType).stream() .filter(