Use getTotalWorldTime

This commit is contained in:
koolkrafter5 committed 2025-04-10 00:07:59 -04:00
1 parent aad613b221
commit d5a33f6f81
5 files changed
+6 -5

No files matched your search

@@ -302,7 +302,7 @@ public class ItemRitualDiviner extends EnergyItems implements IRitualDiviner {
@Override
public void onUpdate(ItemStack stack, World world, Entity entity, int par4, boolean par5) {
if (entity instanceof EntityPlayer && hasStoredLocation(stack) && world.getWorldTime() % 5 == 0) {
if (entity instanceof EntityPlayer && hasStoredLocation(stack) && world.getTotalWorldTime() % 5 == 0) {
Int3 loc = getStoredLocation(stack);
int x = loc.xCoord;