mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 04:03:22 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
map.put(opcode.value().getValue(), handlerClass.newInstance());
|
map.put(opcode.value().getValue(), handlerClass.getDeclaredConstructor().newInstance());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user