Fix NPE
This commit is contained in:
parent
66cddc98a8
commit
47f774be4b
Binary file not shown.
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user