2014-11-28 12:23:19 +01:00
|
|
|
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityDamageSourceIndirect.java 2014-11-28 11:22:55.890823164 +0000
|
|
|
|
+++ src/main/java/net/minecraft/server/EntityDamageSourceIndirect.java 2014-11-28 11:01:54.000000000 +0000
|
2014-11-25 22:32:16 +01:00
|
|
|
@@ -24,5 +24,11 @@
|
|
|
|
String s1 = s + ".item";
|
|
|
|
|
|
|
|
return itemstack != null && itemstack.hasName() && LocaleI18n.c(s1) ? new ChatMessage(s1, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent, itemstack.C()}) : new ChatMessage(s, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent});
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // CraftBukkit start
|
|
|
|
+ public Entity getProximateDamageSource() {
|
|
|
|
+ return super.getEntity();
|
|
|
|
}
|
|
|
|
+ // CraftBukkit end
|
|
|
|
}
|