mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update CraftBukkit to Minecraft 1.4.4.
This commit is contained in:
1 parent
a0c3b4f9d1
commit
7f7192f8fd
169 files changed
+3295
-2774
No files matched your search
@@ -18,13 +18,12 @@ public class EntityDamageSourceIndirect extends EntityDamageSource {
|
||||
}
|
||||
|
||||
public String getLocalizedDeathMessage(EntityHuman entityhuman) {
|
||||
// CraftBukkit start
|
||||
String source = (this.owner == null) ? "Herobrine" : this.owner.getLocalizedName();
|
||||
return LocaleI18n.get("death." + this.translationIndex, new Object[] { entityhuman.name, source});
|
||||
return LocaleI18n.get("death." + this.translationIndex, new Object[] { entityhuman.name, this.owner == null ? this.r.getLocalizedName() : this.owner.getLocalizedName()});
|
||||
}
|
||||
|
||||
// CraftBukkit start
|
||||
public Entity getProximateDamageSource() {
|
||||
return super.getEntity();
|
||||
// CraftBukkit end
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
Reference in new issue
Block a user