Prevent item from crafting when inventory is full #6

Merged
asl97 merged 1 commits from patch-1 into master 2015-06-29 17:12:34 -07:00
asl97 commented 2015-06-28 21:51:12 -07:00 (Migrated from github.com)
  1. crafted is always return as {["item"]=itemstack(""),["time"]=0} if empty and that is consider as true in lua so we should check the is_empty()
  2. inv:room_for_item` need the second arg to be an itemstack
1. crafted is always return as `{["item"]=itemstack(""),["time"]=0}` if empty and that is consider as true in lua so we should check the is_empty() 2. inv:room_for_item` need the second arg to be an itemstack
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: minenux/minetest-game-adventuretest#6
There is no content yet.