diff options
author | Celtic Minstrel <celtic.minstrel.ca@some.place> | 2012-03-17 13:06:21 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-03-20 21:31:42 -0400 |
commit | 784aa3b6026b2c765c65d2c461d3b791eca6b697 (patch) | |
tree | bc7d41318e1765cd9ba6cf73d772530c19cddc75 /src/main/java/net/minecraft | |
parent | 43001ca2a8bbb566792496a9ce475f3ab4751135 (diff) | |
download | craftbukkit-784aa3b6026b2c765c65d2c461d3b791eca6b697.tar craftbukkit-784aa3b6026b2c765c65d2c461d3b791eca6b697.tar.gz craftbukkit-784aa3b6026b2c765c65d2c461d3b791eca6b697.tar.lz craftbukkit-784aa3b6026b2c765c65d2c461d3b791eca6b697.tar.xz craftbukkit-784aa3b6026b2c765c65d2c461d3b791eca6b697.zip |
[Bleeding] Fix the openInventory methods for custom inventories. Fixes BUKKIT-1248
Details:
- The attributes of custom inventory views are no longer ignored
- Enchanting or crafting inventories no longer ignore the passed inventory and open a new one
- Inventories associated with tile entities no longer raise a class cast exception if there was no associated tile entity
- InventoryOpenEvent and InventoryCloseEvent (if they already had some other inventory open) now fire in all cases
- If for any reason the inventory failed to open, the method now returns null instead of returned the previous inventory they had open (or the default inventory, if none)
Diffstat (limited to 'src/main/java/net/minecraft')
0 files changed, 0 insertions, 0 deletions