diff --git a/src/main/java/nourl/mythicmetals/armor/PrometheumArmorItem.java b/src/main/java/nourl/mythicmetals/armor/PrometheumArmorItem.java index 2662154b..83dd0a73 100644 --- a/src/main/java/nourl/mythicmetals/armor/PrometheumArmorItem.java +++ b/src/main/java/nourl/mythicmetals/armor/PrometheumArmorItem.java @@ -14,7 +14,7 @@ public PrometheumArmorItem(ArmorMaterial material, Type type, Settings settings) @Override public void inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) { - if (!world.isClient()) PrometheumToolSet.tickAutoRepair(stack, world.getRandom()); + if (!world.isClient()) PrometheumToolSet.tickAutoRepair(stack, world); super.inventoryTick(stack, world, entity, slot, selected); } } diff --git a/src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java b/src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java index a52dc20c..aa534997 100644 --- a/src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java +++ b/src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java @@ -246,7 +246,7 @@ public void inventoryTick(ItemStack stack, World world, Entity entity, int slot, stack.put(IS_ACTIVE, false); } if (hasUpgradeItem(stack, MythicItems.Mats.PROMETHEUM_BOUQUET)) { - PrometheumToolSet.tickAutoRepair(stack, world.getRandom()); + PrometheumToolSet.tickAutoRepair(stack, world); } } super.inventoryTick(stack, world, entity, slot, selected);