Fixed Heavy Heart effect to allow it to work on players
This commit is contained in:
parent
2f0ed920d4
commit
b95c6ad6f6
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue