Fixed Heavy Heart effect to allow it to work on players

This commit is contained in:
WayofTime 2014-11-01 17:55:00 -04:00
parent 2f0ed920d4
commit b95c6ad6f6

View file

@ -474,6 +474,11 @@ public class AlchemicalWizardryEventHooks
{
entityLiving.motionY -= decrease;
}
if(entityLiving instanceof EntityPlayer)
{
SpellHelper.setPlayerSpeedFromServer((EntityPlayer)entityLiving, entityLiving.motionX, entityLiving.motionY - decrease, entityLiving.motionZ);
}
}
if (entityLiving.isPotionActive(AlchemicalWizardry.customPotionFireFuse))