mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-18 03:15:08 +00:00
Fixed Heavy Heart effect to allow it to work on players
This commit is contained in:
1 parent
2f0ed920d4
commit
b95c6ad6f6
1 file changed
+5
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user