mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-18 08:36:13 +01:00
14 lines
564 B
Diff
14 lines
564 B
Diff
--- a/net/minecraft/server/EntityDamageSourceIndirect.java
|
|
+++ b/net/minecraft/server/EntityDamageSourceIndirect.java
|
|
@@ -32,4 +32,10 @@
|
|
|
|
return !itemstack.isEmpty() && itemstack.hasName() ? new ChatMessage(s1, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent, itemstack.B()}) : new ChatMessage(s, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent});
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ public Entity getProximateDamageSource() {
|
|
+ return super.getEntity();
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|