Commit Graph
6 Commits
Author SHA1 Message Date
Ryley Kimmel 28a3d8464a Remove redundant note information and binary note information updater, ItemDefinition already manages this. 2015-02-25 23:58:49 -05:00
Ryley Kimmel c046324421 Merge branch 'master' of git@bitbucket.org:Major-/apollo.git. 2015-02-25 23:24:15 -05:00
Ryley Kimmel 68addd2fa1 Ignore bin directory. 2015-02-25 23:24:13 -05:00
Ryley Kimmel 7617bc4622 Fix the broken equipment weilding event. 2015-02-25 23:23:57 -05:00
Ryley Kimmel edd7b483af Don't map item amount in Inventory#add(int, int). 2015-02-25 15:30:46 -05:00
Ryley Kimmel 87ff14c4d7 Inventory improvements: (expand commit for details).
- Fixed a bug with Inventory#add(Item) not handling integer overflow properly.
- Fixed a bug with Inventory#add(Item) returning an Item object with an amount of 0 instead of null.
- Inventory#add(Item) now returns an Optional<Item> object and cleaned up portions of the method.
- code clean-up to Inventory#remove(int, int).
- Inventory#remove(int, int) now supports stopping and refiring of listeners while the inventory is being updated (prevents flickering and unnecessary updating of the inventory for batch updates).
2015-02-25 15:17:41 -05:00