Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 13:00:06 +01:00
13 Zeilen
505 B
Diff
13 Zeilen
505 B
Diff
|
@@ -24,5 +24,11 @@
|
||
|
String s1 = s + ".item";
|
||
|
|
||
|
return itemstack != null && itemstack.hasName() && LocaleI18n.c(s1) ? new ChatMessage(s1, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent, itemstack.C()}) : new ChatMessage(s, new Object[] { entityliving.getScoreboardDisplayName(), ichatbasecomponent});
|
||
|
+ }
|
||
|
+
|
||
|
+ // CraftBukkit start
|
||
|
+ public Entity getProximateDamageSource() {
|
||
|
+ return super.getEntity();
|
||
|
}
|
||
|
+ // CraftBukkit end
|
||
|
}
|