Fixed not casting due to height check.

This commit is contained in:
MobiusDev
2018-08-31 10:37:47 +00:00
parent 0570cee9d5
commit 481fc1c743
7 changed files with 7 additions and 7 deletions

View File

@ -168,7 +168,7 @@ public class SkillCaster implements Runnable
return null;
}
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, true))
if ((skill.getCastRange() > 0) && !Util.checkIfInRange(skill.getCastRange(), caster, target, false))
{
return null;
}