Fixed bound tools so multiple players can actually use them... :D
This commit is contained in:
parent
dc0925c5a6
commit
81edc58769
3 changed files with 52 additions and 17 deletions
|
@ -45,7 +45,6 @@ public class ItemBoundSword extends ItemSword
|
|||
@Override
|
||||
public void onPlayerStoppedUsing(ItemStack stack, World worldIn, EntityPlayer playerIn, int timeLeft)
|
||||
{
|
||||
|
||||
if (!playerIn.isSneaking() && getActivated(stack))
|
||||
{
|
||||
int i = this.getMaxItemUseDuration(stack) - timeLeft;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue