Skip to content

Commit

Permalink
Fix Creative arrows getting picked up endlessly
Browse files Browse the repository at this point in the history
  • Loading branch information
Qowyn committed Sep 29, 2014
1 parent 901a3e3 commit f93ab23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/tools/entity/ArrowEntity.java
Expand Up @@ -64,7 +64,7 @@ public void onCollideWithPlayer (EntityPlayer par1EntityPlayer)
{
this.playSound("random.pop", 0.2F, ((this.rand.nextFloat() - this.rand.nextFloat()) * 0.7F + 1.0F) * 2.0F);
par1EntityPlayer.onItemPickup(this, 1);
if(returnStack.stackSize <= 0)
if(returnStack.stackSize <= 0 || this.canBePickedUp == 2)
this.setDead();
}
}
Expand Down

0 comments on commit f93ab23

Please sign in to comment.