2021-03-16 09:00:00 +11:00
|
|
|
--- a/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
|
|
|
|
+++ b/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
|
2022-06-08 02:00:00 +10:00
|
|
|
@@ -37,4 +37,10 @@
|
2014-11-26 08:32:16 +11:00
|
|
|
|
2022-06-08 02:00:00 +10:00
|
|
|
return !itemstack.isEmpty() && itemstack.hasCustomHoverName() ? IChatBaseComponent.translatable(s1, entityliving.getDisplayName(), ichatbasecomponent, itemstack.getDisplayName()) : IChatBaseComponent.translatable(s, entityliving.getDisplayName(), 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
|
|
|
|
}
|