Fix for summon attr dmg.
Contributed by Sahar.
This commit is contained in:
parent
da9d1a3744
commit
4b59a2b5fb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user