PaperMC/paper-server/nms-patches/net/minecraft/world/damagesource/EntityDamageSourceIndirect.patch
CraftBukkit/Spigot 8b26bb8f3e Update to Minecraft 1.19.3
By: md_5 <git@md-5.net>
2022-12-08 03:00:00 +11:00

13 lines
431 B
Diff

--- a/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
+++ b/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
@@ -53,4 +53,10 @@
return IChatBaseComponent.translatable(s, entityliving.getDisplayName(), ichatbasecomponent);
}
}
+
+ // CraftBukkit start
+ public Entity getProximateDamageSource() {
+ return super.getEntity();
+ }
+ // CraftBukkit end
}