Remove deprecated constructor call

This commit is contained in:
AnimeGitB 2022-10-29 03:07:51 +10:30
parent 43b7d7a383
commit 855d3182ab

View File

@ -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();
}