Changed the Demon Will Aura Gauge so it refreshes based on the player's ticks existed
This commit is contained in:
parent
8a94dd8acd
commit
42d2c454f8
|
@ -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
|
Version 2.0.4-56
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
|
|
@ -162,7 +162,7 @@ public class GenericHandler
|
||||||
if (!event.getEntityLiving().worldObj.isRemote)
|
if (!event.getEntityLiving().worldObj.isRemote)
|
||||||
{
|
{
|
||||||
EntityLivingBase entity = event.getEntityLiving();
|
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);
|
sendPlayerDemonWillAura((EntityPlayer) entity);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue