Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
855d3182
Commit
855d3182
authored
Oct 29, 2022
by
AnimeGitB
Browse files
Remove deprecated constructor call
parent
43b7d7a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/quest/QuestSystem.java
View file @
855d3182
...
@@ -54,7 +54,7 @@ public class QuestSystem extends BaseGameSystem {
...
@@ -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
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment