Don't do Attributes yet for DBC Damage

This commit is contained in:
Kam committed 2025-04-23 21:57:34 -04:00
1 parent baceb8d1ab
commit 45f80c30db
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())
if (receiver instanceof EntityPlayer && !isRemote() && !DBCAddon.instance.canDBCAttack(this, f, receiver))
f = AttributeAttackUtil.calculateDamageNPCtoPlayer(this, (EntityPlayer) receiver, f);
if (stats.attackSpeed < 10) {