1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraft/util/EntityDamageSourceIndirect.java.patch
2015-03-22 20:38:04 +03:00

15 lines
680 B
Diff

--- ../src-base/minecraft/net/minecraft/util/EntityDamageSourceIndirect.java
+++ ../src-work/minecraft/net/minecraft/util/EntityDamageSourceIndirect.java
@@ -33,4 +33,11 @@
String s1 = s + ".item";
return itemstack != null && itemstack.hasDisplayName() && StatCollector.canTranslate(s1) ? new ChatComponentTranslation(s1, new Object[] {p_151519_1_.func_145748_c_(), ichatcomponent, itemstack.func_151000_E()}): new ChatComponentTranslation(s, new Object[] {p_151519_1_.func_145748_c_(), ichatcomponent});
}
+
+ // CraftBukkit start
+ public Entity getProximateDamageSource()
+ {
+ return super.getEntity();
+ }
+ // CraftBukkit end
}