Merge remote-tracking branch 'origin/master'

This commit is contained in:
TomTom 2024-04-16 15:23:49 +02:00
commit 34958d0a59

View File

@ -12,7 +12,7 @@ import org.bukkit.inventory.ItemStack
import org.bukkit.inventory.ShapedRecipe import org.bukkit.inventory.ShapedRecipe
import org.bukkit.inventory.ShapelessRecipe 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 { override fun shouldRun(minion: Minion): Boolean {
return MinionTicker.getTick() % minion.getNextAction() == 0L return MinionTicker.getTick() % minion.getNextAction() == 0L