mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-26 14:53:07 +00:00
Use getTotalWorldTime
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user