Updated to use mc-dev rename revision 1
This commit is contained in:
@@ -22,7 +22,7 @@ public class EntitySheep extends EntityAnimal {
|
||||
this.datawatcher.a(16, new Byte((byte) 0));
|
||||
}
|
||||
|
||||
protected void a(boolean flag, int i) {
|
||||
protected void dropDeathLoot(boolean flag, int i) {
|
||||
// CraftBukkit start - whole method
|
||||
java.util.List<org.bukkit.inventory.ItemStack> loot = new java.util.ArrayList<org.bukkit.inventory.ItemStack>();
|
||||
|
||||
@@ -63,14 +63,14 @@ public class EntitySheep extends EntityAnimal {
|
||||
|
||||
public void b(NBTTagCompound nbttagcompound) {
|
||||
super.b(nbttagcompound);
|
||||
nbttagcompound.a("Sheared", this.isSheared());
|
||||
nbttagcompound.a("Color", (byte) this.getColor());
|
||||
nbttagcompound.setBoolean("Sheared", this.isSheared());
|
||||
nbttagcompound.setByte("Color", (byte) this.getColor());
|
||||
}
|
||||
|
||||
public void a(NBTTagCompound nbttagcompound) {
|
||||
super.a(nbttagcompound);
|
||||
this.setSheared(nbttagcompound.n("Sheared"));
|
||||
this.setColor(nbttagcompound.d("Color"));
|
||||
this.setSheared(nbttagcompound.getBoolean("Sheared"));
|
||||
this.setColor(nbttagcompound.getByte("Color"));
|
||||
}
|
||||
|
||||
protected String c_() {
|
||||
|
||||
Reference in New Issue
Block a user