mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-23 21:49:45 +00:00
Various fixes involving projectiles and tool speed
This commit is contained in:
1 parent
0f069787c4
commit
2db4ccd4c7
14 files changed
+138
-99
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user