Updated to use mc-dev rename revision 1
This commit is contained in:
@@ -38,12 +38,12 @@ public class EntityPigZombie extends EntityZombie {
|
||||
|
||||
public void b(NBTTagCompound nbttagcompound) {
|
||||
super.b(nbttagcompound);
|
||||
nbttagcompound.a("Anger", (short) this.angerLevel);
|
||||
nbttagcompound.setShort("Anger", (short) this.angerLevel);
|
||||
}
|
||||
|
||||
public void a(NBTTagCompound nbttagcompound) {
|
||||
super.a(nbttagcompound);
|
||||
this.angerLevel = nbttagcompound.e("Anger");
|
||||
this.angerLevel = nbttagcompound.getShort("Anger");
|
||||
}
|
||||
|
||||
protected Entity findTarget() {
|
||||
@@ -111,7 +111,7 @@ public class EntityPigZombie extends EntityZombie {
|
||||
return "mob.zombiepig.zpigdeath";
|
||||
}
|
||||
|
||||
protected void a(boolean flag, int i) {
|
||||
protected void dropDeathLoot(boolean flag, int i) {
|
||||
// CraftBukkit start
|
||||
List<org.bukkit.inventory.ItemStack> loot = new java.util.ArrayList<org.bukkit.inventory.ItemStack>();
|
||||
int j = this.random.nextInt(2 + i);
|
||||
|
||||
Reference in New Issue
Block a user