mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix Creative arrows getting picked up endlessly
This commit is contained in:
1 parent
901a3e3be9
commit
f93ab231b0
1 file changed
+1
-1
@@ -64,7 +64,7 @@ public class ArrowEntity extends EntityArrow implements IEntityAdditionalSpawnDa
|
||||
{
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user