mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-25 13:01:03 +00:00
partial fix of dungeon
This commit is contained in:
parent
a25c681274
commit
1c3a6fc837
@ -310,6 +310,7 @@ public class SceneScriptManager {
|
|||||||
|
|
||||||
private void realCallEvent(int eventType, ScriptArgs params) {
|
private void realCallEvent(int eventType, ScriptArgs params) {
|
||||||
try {
|
try {
|
||||||
|
ScriptLoader.getScriptLib().setSceneScriptManager(this);
|
||||||
Set<SceneTrigger> relevantTriggers = new HashSet<>();
|
Set<SceneTrigger> relevantTriggers = new HashSet<>();
|
||||||
if (eventType == EventType.EVENT_ENTER_REGION || eventType == EventType.EVENT_LEAVE_REGION) {
|
if (eventType == EventType.EVENT_ENTER_REGION || eventType == EventType.EVENT_LEAVE_REGION) {
|
||||||
List<SceneTrigger> relevantTriggersList = this.getTriggersByEvent(eventType).stream()
|
List<SceneTrigger> relevantTriggersList = this.getTriggersByEvent(eventType).stream()
|
||||||
|
Loading…
Reference in New Issue
Block a user