mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Updated to Minecraft 1.1
This commit is contained in:
@@ -2,21 +2,25 @@ package net.minecraft.server;
|
||||
|
||||
public class EntityDamageSourceIndirect extends EntityDamageSource {
|
||||
|
||||
private Entity n;
|
||||
private Entity o;
|
||||
|
||||
public EntityDamageSourceIndirect(String s, Entity entity, Entity entity1) {
|
||||
super(s, entity);
|
||||
this.n = entity1;
|
||||
this.o = entity1;
|
||||
}
|
||||
|
||||
public Entity b() {
|
||||
return this.a;
|
||||
}
|
||||
|
||||
public Entity getEntity() {
|
||||
return this.n;
|
||||
return this.o;
|
||||
}
|
||||
|
||||
public String a(EntityHuman entityhuman) {
|
||||
// CraftBukkit start
|
||||
String source = (this.n == null) ? "Herobrine" : this.n.ad();
|
||||
return LocaleI18n.a("death." + this.m, new Object[] { entityhuman.name, source});
|
||||
String source = (this.o == null) ? "Herobrine" : this.o.ad();
|
||||
return LocaleI18n.a("death." + this.n, new Object[] { entityhuman.name, source});
|
||||
}
|
||||
|
||||
public Entity getProximateDamageSource() {
|
||||
|
Reference in New Issue
Block a user