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

Lazy ItemStacks #2

Open
Chocohead opened this issue Jan 4, 2016 · 1 comment
Open

Lazy ItemStacks #2

Chocohead opened this issue Jan 4, 2016 · 1 comment

Comments

@Chocohead
Copy link

Currently it only supports fully explicit ItemStack calls with item, size and meta, but doesn't account for the fact you can do ItemStack(item) or ItemStack(item, size) and the size and meta are presumed to be 1 and 0 if not given.

@elifoster
Copy link
Member

I should probably add default values.

elifoster added a commit that referenced this issue Jan 4, 2016
…e#parse returns the template instead of printing it. ItemStacks now support all of the constructors, close #2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants