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
482c174e
Commit
482c174e
authored
Apr 21, 2022
by
Benjamin Elsdon
Browse files
Reload command now reloads gacha config (again)
parent
41b4965a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/Reload.java
View file @
482c174e
...
@@ -15,6 +15,7 @@ public class Reload implements CommandHandler {
...
@@ -15,6 +15,7 @@ public class Reload implements CommandHandler {
public
void
execute
(
GenshinPlayer
sender
,
List
<
String
>
args
)
{
public
void
execute
(
GenshinPlayer
sender
,
List
<
String
>
args
)
{
CommandHandler
.
sendMessage
(
sender
,
"Reloading config."
);
CommandHandler
.
sendMessage
(
sender
,
"Reloading config."
);
Grasscutter
.
loadConfig
();
Grasscutter
.
loadConfig
();
Grasscutter
.
getGameServer
().
getGachaManager
().
load
();
Grasscutter
.
getDispatchServer
().
loadQueries
();
Grasscutter
.
getDispatchServer
().
loadQueries
();
CommandHandler
.
sendMessage
(
sender
,
"Reload complete."
);
CommandHandler
.
sendMessage
(
sender
,
"Reload complete."
);
}
}
...
...
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