9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2026-01-04 15:41:36 +00:00

Fixed missing param

This commit is contained in:
Auxilor
2021-09-30 12:43:15 +01:00
parent 10b8312aa6
commit 2830282325

View File

@@ -15,7 +15,7 @@ class CommandReload(plugin: EcoPlugin) :
) {
override fun getHandler(): CommandHandler {
return CommandHandler { sender: CommandSender, _: List<String> ->
PlayerProfile.saveAll()
PlayerProfile.saveAll(false)
plugin.reload()
sender.sendMessage(plugin.langYml.getMessage("reloaded"))
}