Files
CatServer/patches/net/minecraft/client/entity/EntityOtherPlayerMP.java.patch
2019-02-24 22:29:41 +08:00

11 lines
372 B
Diff

--- ../src-base/minecraft/net/minecraft/client/entity/EntityOtherPlayerMP.java
+++ ../src-work/minecraft/net/minecraft/client/entity/EntityOtherPlayerMP.java
@@ -43,6 +43,7 @@
public boolean attackEntityFrom(DamageSource source, float amount)
{
+ net.minecraftforge.common.ForgeHooks.onPlayerAttack(this, source, amount);
return true;
}