2015-05-25 20:37:24 +10:00
|
|
|
--- a/net/minecraft/server/EntityDamageSourceIndirect.java
|
|
|
|
+++ b/net/minecraft/server/EntityDamageSourceIndirect.java
|
2016-05-10 21:47:39 +10:00
|
|
|
@@ -29,4 +29,10 @@
|
2014-11-26 08:32:16 +11:00
|
|
|
|
2018-07-15 10:00:00 +10:00
|
|
|
return !itemstack.isEmpty() && itemstack.hasName() ? new ChatMessage(s1, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent, itemstack.A()}) : new ChatMessage(s, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent});
|
2015-02-26 22:41:06 +00:00
|
|
|
}
|
|
|
|
+
|
2014-11-26 08:32:16 +11:00
|
|
|
+ // CraftBukkit start
|
|
|
|
+ public Entity getProximateDamageSource() {
|
|
|
|
+ return super.getEntity();
|
2015-02-26 22:41:06 +00:00
|
|
|
+ }
|
2014-11-26 08:32:16 +11:00
|
|
|
+ // CraftBukkit end
|
|
|
|
}
|