Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
14 Zeilen
690 B
Diff
14 Zeilen
690 B
Diff
--- /home/matt/mc-dev-private//net/minecraft/server/EntityDamageSourceIndirect.java 2015-02-26 22:40:22.503608140 +0000
|
|
+++ src/main/java/net/minecraft/server/EntityDamageSourceIndirect.java 2015-02-26 22:40:22.503608140 +0000
|
|
@@ -25,4 +25,10 @@
|
|
|
|
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
|
|
}
|