mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2024-12-12 06:36:19 +00: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