Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent item from crafting when inventory is full #6

Merged
merged 1 commit into from Jun 30, 2015

Conversation

asl97
Copy link
Contributor

@asl97 asl97 commented Jun 29, 2015

  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

Bremaweb added a commit that referenced this pull request Jun 30, 2015
Prevent item from crafting when inventory is full
@Bremaweb Bremaweb merged commit a065aee into Bremaweb:master Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants