diff --git a/src/main/java/emu/grasscutter/game/quest/QuestSystem.java b/src/main/java/emu/grasscutter/game/quest/QuestSystem.java index ad5349cef..7c90d89b8 100644 --- a/src/main/java/emu/grasscutter/game/quest/QuestSystem.java +++ b/src/main/java/emu/grasscutter/game/quest/QuestSystem.java @@ -54,7 +54,7 @@ public class QuestSystem extends BaseGameSystem { return; } - map.put(opcode.value().getValue(), handlerClass.newInstance()); + map.put(opcode.value().getValue(), handlerClass.getDeclaredConstructor().newInstance()); } catch (Exception e) { e.printStackTrace(); }