Changed the Demon Will Aura Gauge so it refreshes based on the player's ticks existed

This commit is contained in:
WayofTime 2016-08-24 22:10:12 -04:00
parent 8a94dd8acd
commit 42d2c454f8
2 changed files with 6 additions and 1 deletions

View file

@ -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
------------------------------------------------------

View file

@ -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);
}