ComputerCraft

ComputerCraft

21M Downloads

pocket.equipBack() and pocket.unequipBack() makes a lua error

JakobDev opened this issue ยท 3 comments

commented

If pocket.equipBack() and pocket.unequipBack() not find anything, the program crash with a lua error. I think it should just return false if it find nothing.

commented

@SquidDev Sorry to bother you but i see you made fix for this? Mind putting a PR of it before we hit current relase?

commented

Ah sorry did not see that. I could sworn it was different branch. Sorry to bother then.

commented

@Wojbie, that fix is included in #331. I'd be happy to cherry pick it out if really needed, but seeing as #331 provides other valuable bug fixes, I'm not sure if there's much point.