Am I missing something or does game.player.caninsert() always return true?
http://i.imgur.com/8gE74Xs.png
game.player.caninsert() always returns true
-
- Burner Inserter
- Posts: 19
- Joined: Tue Aug 19, 2014 12:47 pm
- Contact:
Re: game.player.caninsert() always returns true
What was the command exactly?
Re: game.player.caninsert() always returns true
This may have been related to this issue: https://forums.factorio.com/forum/vie ... =11&t=5477
But, without the screenshot I'm not positive.
But, without the screenshot I'm not positive.
If you want to get ahold of me I'm almost always on Discord.
Re: game.player.caninsert() always returns true
I think I found the problem
Line 126 of LuaControl:
Line 126 of LuaControl:
Code: Select all
bool canInsert(const ItemStack& itemStack)
{
this->failIfNotValid();
return this->player
? true
: (*this->entityTarget)->canInsert(itemStack, false, false);
}
If you want to get ahold of me I'm almost always on Discord.
Re: game.player.caninsert() always returns true
Thanks for the notice, fixed for 0.11.17.