Skip to content

Commit b4fee49

Browse files
committed
Fix Prometheum related method calls
Signed-off-by: Noaaan <[email protected]>
1 parent 4264417 commit b4fee49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/nourl/mythicmetals/armor/PrometheumArmorItem.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public PrometheumArmorItem(ArmorMaterial material, Type type, Settings settings)
1414

1515
@Override
1616
public void inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected) {
17-
if (!world.isClient()) PrometheumToolSet.tickAutoRepair(stack, world.getRandom());
17+
if (!world.isClient()) PrometheumToolSet.tickAutoRepair(stack, world);
1818
super.inventoryTick(stack, world, entity, slot, selected);
1919
}
2020
}

src/main/java/nourl/mythicmetals/item/tools/MythrilDrill.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public void inventoryTick(ItemStack stack, World world, Entity entity, int slot,
246246
stack.put(IS_ACTIVE, false);
247247
}
248248
if (hasUpgradeItem(stack, MythicItems.Mats.PROMETHEUM_BOUQUET)) {
249-
PrometheumToolSet.tickAutoRepair(stack, world.getRandom());
249+
PrometheumToolSet.tickAutoRepair(stack, world);
250250
}
251251
}
252252
super.inventoryTick(stack, world, entity, slot, selected);

0 commit comments

Comments
 (0)