Fix for summon attr dmg.

Contributed by Sahar.
This commit is contained in:
MobiusDev 2015-09-03 12:36:54 +00:00
parent da9d1a3744
commit 4b59a2b5fb

View File

@ -1904,7 +1904,7 @@ public final class Formulas
double result = (attribute_mod_diff / 100.0) + 1;
if (attacker.isPlayer() && target.isPlayer() && (result < 1.0))
if (attacker.isPlayable() && target.isPlayable() && (result < 1.0))
{
result = 1.0;
}