This commit is contained in:
sigonasr2 2016-08-25 06:05:20 -05:00
parent 66cddc98a8
commit 47f774be4b
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -418,7 +418,7 @@ public class CustomDamage {
aPlugin.API.showDamage(target, GetHeartAmount(damage));
}
if (target instanceof Monster) {
if (reason.equalsIgnoreCase("SUFFOCATION")) {
if (reason!=null && reason.equalsIgnoreCase("SUFFOCATION")) {
triggerEliteBreakEvent(target);
}
}