From 42d2c454f8be6a231c0d9f70dfaaa27aea7b11ed Mon Sep 17 00:00:00 2001 From: WayofTime <wtime@live.ca> Date: Wed, 24 Aug 2016 22:10:12 -0400 Subject: [PATCH] Changed the Demon Will Aura Gauge so it refreshes based on the player's ticks existed --- changelog.txt | 5 +++++ .../bloodmagic/util/handler/event/GenericHandler.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index b9fdc42a..c3c4b222 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +------------------------------------------------------ +Version 2.0.4-57 +------------------------------------------------------ +- Changed the Demon Will Aura Gauge so it refreshes based on the player's ticks existed + ------------------------------------------------------ Version 2.0.4-56 ------------------------------------------------------ diff --git a/src/main/java/WayofTime/bloodmagic/util/handler/event/GenericHandler.java b/src/main/java/WayofTime/bloodmagic/util/handler/event/GenericHandler.java index 6bcddb47..cf5025f2 100644 --- a/src/main/java/WayofTime/bloodmagic/util/handler/event/GenericHandler.java +++ b/src/main/java/WayofTime/bloodmagic/util/handler/event/GenericHandler.java @@ -162,7 +162,7 @@ public class GenericHandler if (!event.getEntityLiving().worldObj.isRemote) { EntityLivingBase entity = event.getEntityLiving(); - if (entity instanceof EntityPlayer && entity.worldObj.getTotalWorldTime() % 50 == 0) //TODO: Change to an incremental counter + if (entity instanceof EntityPlayer && entity.ticksExisted % 50 == 0) //TODO: Change to an incremental counter { sendPlayerDemonWillAura((EntityPlayer) entity); }