mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-13 15:34:40 +01:00
Format code [skip actions]
This commit is contained in:
@@ -813,7 +813,8 @@ public class SceneScriptManager {
|
|||||||
.filter(
|
.filter(
|
||||||
t ->
|
t ->
|
||||||
t.getName().substring(13).equals(String.valueOf(params.param1))
|
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());
|
.collect(Collectors.toSet());
|
||||||
default -> this.getTriggersByEvent(eventType).stream()
|
default -> this.getTriggersByEvent(eventType).stream()
|
||||||
.filter(
|
.filter(
|
||||||
|
|||||||
Reference in New Issue
Block a user