mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 10:46:05 +03:00
13 lines
680 B
Diff
13 lines
680 B
Diff
--- ../src-base/minecraft/net/minecraft/util/EntityDamageSourceIndirect.java
|
|
+++ ../src-work/minecraft/net/minecraft/util/EntityDamageSourceIndirect.java
|
|
@@ -38,4 +38,9 @@
|
|
String s1 = s + ".item";
|
|
return itemstack != null && itemstack.hasDisplayName() && I18n.canTranslate(s1) ? new TextComponentTranslation(s1, new Object[] {entityLivingBaseIn.getDisplayName(), itextcomponent, itemstack.getTextComponent()}): new TextComponentTranslation(s, new Object[] {entityLivingBaseIn.getDisplayName(), itextcomponent});
|
|
}
|
|
+ // CraftBukkit start
|
|
+ public Entity getProximateDamageSource() {
|
|
+ return super.getEntity();
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|