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
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue