sk89q/craftbook — pull request #160 by ScoreUnder (2012-11-08 13:58:19+00:00)
Title: Electric boogaloo

- Print stack trace on failed think/unload for mechanics, to aid debugging
- Fixed some formatting
- Removed redundant Math.round() in XPStorer, changed setTotalExperience
to setExp as the former didn't appear to work
- "else if" for comparing mutually exclusive conditions
- Fixed fire arrows "misfiring" from dispensers
- Weakened field access in DispenserRecipes
- Cleaned up dispenser recipe parsing logic
- Fixed some javadoc
- Added .equals() to Recipe taking into account recipe items only
(which means that any recipe with exactly the same items is
considered a duplicate, regardless of action)
- Replaced some "magic number" item IDs with the relevant ItemID constant