OpenBlocks

OpenBlocks

56M Downloads

Something drops a pickaxe

mikeemoo opened this issue ยท 8 comments

commented

Apparently some configuration of block breaker and placer causes a diamond pick to be dropped.

I can't replicate it. However, it seems likely that it's to do with the fake player.

For safety I've setDead() on the player after he's stopped being used - however, no idea if this fixes it.

It makes sense to kill it off anyway when it's not being used.

commented

Not sure if that makes a difference, as isDead is only really used on player update, Which isn't fired on FakePlayers as they're not in the player pool.

Would be great to have more information on this issue to narrow it down. :)

commented

I've managed to replicate it

commented

http://i.imgur.com/0ptJU80.png

too tired to fix it. A diamond pick appears. What the hell :)

commented

This is an awesome bug, I'll look at it tonight :)

commented

Nay mind, I got it. Silly bug!

commented

Can you reference the commit please :P

commented

Doubt it. Different project

commented

I did it for you :)