Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 12:30:06 +01:00
14 Zeilen
564 B
Diff
14 Zeilen
564 B
Diff
--- a/net/minecraft/server/EntityDamageSourceIndirect.java
|
|
+++ b/net/minecraft/server/EntityDamageSourceIndirect.java
|
|
@@ -29,4 +29,10 @@
|
|
|
|
return !itemstack.isEmpty() && itemstack.hasName() ? new ChatMessage(s1, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent, itemstack.A()}) : new ChatMessage(s, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent});
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ public Entity getProximateDamageSource() {
|
|
+ return super.getEntity();
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|