Update EntityNPCInterface.java

This commit is contained in:
Kam committed 2025-04-23 22:08:04 -04:00
1 parent 9700114d87
commit febffe15e0
1 file changed
+1 -1
@@ -247,7 +247,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
public boolean attackEntityAsMob(Entity receiver) {
float f = stats.getAttackStrength();
if (receiver instanceof EntityPlayer && !isRemote() && !DBCAddon.instance.canDBCAttack(this, f, receiver))
if (receiver instanceof EntityPlayer && !isRemote())
f = AttributeAttackUtil.calculateDamageNPCtoPlayer(this, (EntityPlayer) receiver, f);
if (stats.attackSpeed < 10) {