Various fixes involving projectiles and tool speed

This commit is contained in:
mDiyo committed 2013-08-27 18:11:13 -07:00
1 parent 0f069787c4
commit 2db4ccd4c7
14 files changed
+138 -99

No files matched your search

+2 -2
View File
@@ -23,12 +23,12 @@ public class Dagger extends Weapon
if (!world.isRemote)
{
DaggerEntity dagger = new DaggerEntity(stack, world, player);
if (player.capabilities.isCreativeMode)
dagger.doNotRetrieve = true;
world.spawnEntityInWorld(dagger);
}
itemstack.stackSize--;
return itemstack;
/*player.setItemInUse(itemstack, this.getMaxItemUseDuration(itemstack));
return itemstack;*/
}
public ItemStack onEaten (ItemStack itemstack, World world, EntityPlayer player)