diff --git a/src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java b/src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java index 1265bc74..93d0321b 100644 --- a/src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java +++ b/src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java @@ -35,6 +35,7 @@ import nourl.mythicmetals.data.MythicTags; import nourl.mythicmetals.item.MythicItems; import nourl.mythicmetals.misc.RegistryHelper; +import org.joml.Math; import java.util.List; @@ -183,7 +184,9 @@ public void inventoryTick(ItemStack stack, World world, Entity entity, int slot, if (!stack.contains(MythicDataComponents.PROMETHEUM)) { stack.set(MythicDataComponents.PROMETHEUM, PrometheumComponent.DEFAULT); } - stack.set(MythicDataComponents.DRILL, drillComponent.increase(drillComponent.fuel())); + if (Math.floor(world.getTime() % 20) == 0.0) { + stack.set(MythicDataComponents.DRILL, drillComponent.increase(drillComponent.fuel())); + } PrometheumComponent.tickAutoRepair(stack, world); } }