From ee9ed79454b7f822f6bd3c513ef0daa1ec263351 Mon Sep 17 00:00:00 2001 From: AverageGithub Date: Sun, 14 Apr 2024 18:43:21 +0200 Subject: [PATCH] Fix --- .../axminions/minions/miniontype/CrafterMinionType.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/com/artillexstudios/axminions/minions/miniontype/CrafterMinionType.kt b/common/src/main/kotlin/com/artillexstudios/axminions/minions/miniontype/CrafterMinionType.kt index 63f3115..8dbc6ad 100644 --- a/common/src/main/kotlin/com/artillexstudios/axminions/minions/miniontype/CrafterMinionType.kt +++ b/common/src/main/kotlin/com/artillexstudios/axminions/minions/miniontype/CrafterMinionType.kt @@ -12,7 +12,7 @@ import org.bukkit.inventory.ItemStack import org.bukkit.inventory.ShapedRecipe import org.bukkit.inventory.ShapelessRecipe -class CrafterMinionType : MinionType("collector", AxMinionsPlugin.INSTANCE.getResource("minions/crafter.yml")!!) { +class CrafterMinionType : MinionType("crafter", AxMinionsPlugin.INSTANCE.getResource("minions/crafter.yml")!!) { override fun shouldRun(minion: Minion): Boolean { return MinionTicker.getTick() % minion.getNextAction() == 0L