Zach Brown
013c024ca2
Update upstream CB
2017-01-28 17:36:03 -06:00
Zach Brown
b6dd3fb9d3
Update upstream B/CB
...
Closes GH-569
2017-01-06 15:45:59 -06:00
Aikar
3734a3acdb
Fix build
...
I totally didn't notice that the patch had a conflict >_>
2017-01-02 02:05:02 -05:00
Aikar
daab7ed781
Optimize isEmpty() to remove Map lookup
...
Every call to .isEmpty() made a horribly wasteful map lookup just to get the
reference to the Air Item for checking.
We will now cache a copy of that item
2016-12-21 04:21:42 -05:00
Aikar
c6ffa97c7a
Revert "Optimize ItemStack.isEmpty()"
...
This reverts commit c2b8a4be32
.
See a bug
2016-12-21 03:51:48 -05:00
Aikar
c2b8a4be32
Optimize ItemStack.isEmpty()
...
Remove hashMap lookup every check, simplify code to remove ternary
2016-12-21 03:50:43 -05:00