Updated to rename revision 02

This commit is contained in:
Erik Broes
2012-02-29 22:31:04 +01:00
committed by Nathan Adams
parent 8524ff8ef7
commit 33ba9f0a2f
100 changed files with 772 additions and 761 deletions

View File

@@ -20,7 +20,7 @@ public class ItemDye extends Item {
return super.getName() + "." + a[i];
}
public boolean a(ItemStack itemstack, EntityHuman entityhuman, World world, int i, int j, int k, int l) {
public boolean interactWith(ItemStack itemstack, EntityHuman entityhuman, World world, int i, int j, int k, int l) {
if (!entityhuman.d(i, j, k)) {
return false;
} else {
@@ -123,9 +123,10 @@ public class ItemDye extends Item {
return;
}
int iColor = new Byte(event.getColor().getData()).intValue();
entitysheep.setColor(iColor);
i = (byte) event.getColor().getData();
// CraftBukkit end
entitysheep.setColor(i);
--itemstack.count;
}
}