diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoshop/commands/CommandBuy.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoshop/commands/CommandBuy.kt index aa16345..a83a603 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoshop/commands/CommandBuy.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoshop/commands/CommandBuy.kt @@ -16,8 +16,6 @@ class CommandBuy(plugin: EcoPlugin) : PluginCommand( ) { private fun getMaxPurchaseAmount() = EcoShopPlugin.instance.configYml.getInt("max-purchase-amount") - private val maxPurchaseAmount = EcoShopPlugin.instance.configYml.getInt("max-purchase-amount") - override fun onExecute(player: Player, args: List) { if (args.isEmpty()) { player.sendMessage(EcoShopPlugin.instance.langYml.getMessage("must-specify-item"))