caninsert() function
Posted: Wed Aug 07, 2013 7:58 am
So because caninsert() allways returns true if at least some of the given itemstack can be inserted. My question is, is there a workaround to check if the given itemstack can be inserted completly?
I was thinking about a function that needs same parameter than caninsert(), but returns true if the whole given stack can be inserted, otherwise it return the amount of items that can be inserted.
I was thinking about a function that needs same parameter than caninsert(), but returns true if the whole given stack can be inserted, otherwise it return the amount of items that can be inserted.