mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
Update EntityNPCInterface.java
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user