mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-01 12:05:27 +02:00
Silenced a mostly harmless error that can happen when using plugins like crazyenchantments
This commit is contained in:
@@ -600,7 +600,7 @@ public final class CombatUtils {
|
||||
return processingNoInvulnDamage;
|
||||
}
|
||||
|
||||
public static void dealNoInvulnerabilityTickDamage(@NotNull LivingEntity target, double damage, Entity attacker) {
|
||||
public static void dealNoInvulnerabilityTickDamage(@NotNull LivingEntity target, double damage, @Nullable Entity attacker) {
|
||||
if (target.isDead()) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user