From f98534b5e1b253be4fc088a46e9bdca51ee19cb7 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Wed, 3 Nov 2021 19:06:05 +0000 Subject: [PATCH] Fixed CommandReload.kt --- .../main/kotlin/com/willfp/ecoskills/commands/CommandReload.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/commands/CommandReload.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/commands/CommandReload.kt index 87d1dab..2294419 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/commands/CommandReload.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/commands/CommandReload.kt @@ -3,7 +3,6 @@ package com.willfp.ecoskills.commands import com.willfp.eco.core.EcoPlugin import com.willfp.eco.core.command.CommandHandler import com.willfp.eco.core.command.impl.Subcommand -import com.willfp.ecoskills.data.storage.PlayerProfile import org.bukkit.command.CommandSender class CommandReload(plugin: EcoPlugin) : @@ -15,7 +14,6 @@ class CommandReload(plugin: EcoPlugin) : ) { override fun getHandler(): CommandHandler { return CommandHandler { sender: CommandSender, _: List -> - PlayerProfile.saveAll(false) plugin.reload() sender.sendMessage(plugin.langYml.getMessage("reloaded")) }