mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-17 19:05:02 +00:00
Small tweak to prevent a possible annoyance.
This commit is contained in:
1 parent
34f779563e
commit
3e53489162
1 file changed
+2
-2
@@ -56,8 +56,6 @@ public class ItemSpellMultiTool extends Item
|
||||
float damage = this.getCustomItemAttack(par1ItemStack);
|
||||
|
||||
float f = (float)par3EntityLivingBase.getEntityAttribute(SharedMonsterAttributes.attackDamage).getAttributeValue();
|
||||
|
||||
damage *= f;
|
||||
|
||||
SpellParadigmTool parad = this.loadParadigmFromStack(par1ItemStack);
|
||||
|
||||
@@ -73,6 +71,8 @@ public class ItemSpellMultiTool extends Item
|
||||
damage *= 1.75f;
|
||||
}
|
||||
|
||||
damage *= f;
|
||||
|
||||
if (par3EntityLivingBase instanceof EntityPlayer)
|
||||
{
|
||||
par2EntityLivingBase.attackEntityFrom(DamageSource.causePlayerDamage((EntityPlayer) par3EntityLivingBase), damage);
|
||||
|
||||
Reference in new issue
Block a user