mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 04:13:00 +08:00
Remove deprecated constructor call
This commit is contained in:
parent
43b7d7a383
commit
855d3182ab
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user