2015-05-25 18:37:24 +08:00
|
|
|
--- a/net/minecraft/server/EntityDamageSourceIndirect.java
|
|
|
|
+++ b/net/minecraft/server/EntityDamageSourceIndirect.java
|
2015-02-27 06:41:06 +08:00
|
|
|
@@ -25,4 +25,10 @@
|
2014-11-26 05:32:16 +08:00
|
|
|
|
2016-03-01 05:32:46 +08:00
|
|
|
return itemstack != null && itemstack.hasName() && LocaleI18n.c(s1) ? new ChatMessage(s1, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent, itemstack.B()}) : new ChatMessage(s, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent});
|
2015-02-27 06:41:06 +08:00
|
|
|
}
|
|
|
|
+
|
2014-11-26 05:32:16 +08:00
|
|
|
+ // CraftBukkit start
|
|
|
|
+ public Entity getProximateDamageSource() {
|
|
|
|
+ return super.getEntity();
|
2015-02-27 06:41:06 +08:00
|
|
|
+ }
|
2014-11-26 05:32:16 +08:00
|
|
|
+ // CraftBukkit end
|
|
|
|
}
|