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

Gave melon slice item a name distinct from the melon block #158

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

intchanter
Copy link

I was surprised a bit when I tried to put a melon slice item in a chest and ended up with a melon block item. On investigation, they both used the name "Melon". This patch should allow them to be referenced separately.

@intchanter
Copy link
Author

To clarify, the current behavior is that when you reach for items.names['Melon'], you get either the melon slice or the melon block, chosen randomly (probably due to Python's per-process hash randomization).

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.

3 participants