3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-30 01:50:08 +01:00
Paper/nms-patches/EntityDamageSourceIndirect.patch

14 Zeilen
560 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/EntityDamageSourceIndirect.java
+++ b/net/minecraft/server/EntityDamageSourceIndirect.java
2019-04-23 04:00:00 +02:00
@@ -32,4 +32,10 @@
2020-06-25 02:00:00 +02:00
return !itemstack.isEmpty() && itemstack.hasName() ? new ChatMessage(s1, new Object[]{entityliving.getScoreboardDisplayName(), ichatbasecomponent, itemstack.C()}) : new ChatMessage(s, new Object[]{entityliving.getScoreboardDisplayName(), ichatbasecomponent});
2015-02-26 23:41:06 +01:00
}
+
+ // CraftBukkit start
+ public Entity getProximateDamageSource() {
+ return super.getEntity();
2015-02-26 23:41:06 +01:00
+ }
+ // CraftBukkit end
}