mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
25f3b50f6b
By: md_5 <git@md-5.net>
13 lines
592 B
Diff
13 lines
592 B
Diff
--- a/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
|
|
+++ b/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
|
|
@@ -37,4 +37,10 @@
|
|
|
|
return !itemstack.isEmpty() && itemstack.hasCustomHoverName() ? IChatBaseComponent.translatable(s1, entityliving.getDisplayName(), ichatbasecomponent, itemstack.getDisplayName()) : IChatBaseComponent.translatable(s, entityliving.getDisplayName(), ichatbasecomponent);
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ public Entity getProximateDamageSource() {
|
|
+ return super.getEntity();
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|