2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
|
|
|
|
+++ b/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
|
2022-06-07 18:00:00 +02:00
|
|
|
@@ -37,4 +37,10 @@
|
2014-11-25 22:32:16 +01:00
|
|
|
|
2022-06-07 18:00:00 +02:00
|
|
|
return !itemstack.isEmpty() && itemstack.hasCustomHoverName() ? IChatBaseComponent.translatable(s1, entityliving.getDisplayName(), ichatbasecomponent, itemstack.getDisplayName()) : IChatBaseComponent.translatable(s, entityliving.getDisplayName(), ichatbasecomponent);
|
2015-02-26 23:41:06 +01:00
|
|
|
}
|
|
|
|
+
|
2014-11-25 22:32:16 +01:00
|
|
|
+ // CraftBukkit start
|
|
|
|
+ public Entity getProximateDamageSource() {
|
|
|
|
+ return super.getEntity();
|
2015-02-26 23:41:06 +01:00
|
|
|
+ }
|
2014-11-25 22:32:16 +01:00
|
|
|
+ // CraftBukkit end
|
|
|
|
}
|