mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-15 08:25:21 +01:00
Almost fully fix Chasing Shadows (#2202)
This commit is contained in:
@@ -27,27 +27,6 @@ public class ExecNotifyGroupLua extends QuestExecHandler {
|
||||
}
|
||||
scene.runWhenFinished(
|
||||
() -> {
|
||||
val groupInstance = scriptManager.getGroupInstanceById(groupId);
|
||||
|
||||
if (groupInstance != null) {
|
||||
// workaround to make sure the triggers are still there todo find better way of trigger
|
||||
// handling
|
||||
scriptManager.refreshGroup(groupInstance);
|
||||
Grasscutter.getLogger()
|
||||
.trace(
|
||||
"group: {} \ncondition: {} \nparamStr {}",
|
||||
groupInstance.getLuaGroup(),
|
||||
condition,
|
||||
paramStr);
|
||||
} else {
|
||||
Grasscutter.getLogger()
|
||||
.debug(
|
||||
"notify, no group instance for:\n group: {} \ncondition: {} \nparamStr {}",
|
||||
groupId,
|
||||
condition,
|
||||
paramStr);
|
||||
}
|
||||
|
||||
val eventType =
|
||||
quest.getState() == QuestState.QUEST_STATE_FINISHED
|
||||
? EventType.EVENT_QUEST_FINISH
|
||||
|
||||
Reference in New Issue
Block a user