Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Fix NPE in auto-disenchanter when it breaks an item with enchants remaining#335

Open
pantheis wants to merge 1 commit into
powercrystals:masterfrom
pantheis:upstream
Open

Fix NPE in auto-disenchanter when it breaks an item with enchants remaining#335
pantheis wants to merge 1 commit into
powercrystals:masterfrom
pantheis:upstream

Conversation

@pantheis

Copy link
Copy Markdown

If you try to auto-disenchant an item with low durability with multiple enchants in repeat mode and the item breaks before removing all enchants, the current code will NPE on the server. This fixes that issue.

skyboy referenced this pull request in skyboy/MineFactoryReloaded Sep 30, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant