Anti-Cheat compatibility

This commit is contained in:
nossr50
2019-01-27 22:26:45 -08:00
parent 6f81cf7384
commit fbc7cbf389
2 changed files with 2 additions and 1 deletions

View File

@ -344,7 +344,7 @@ public final class CombatUtils {
*/
@Deprecated
public static void dealDamage(LivingEntity target, double damage, LivingEntity attacker) {
dealDamage(target, damage, DamageCause.ENTITY_ATTACK, attacker);
dealDamage(target, damage, DamageCause.CUSTOM, attacker);
}
/**