was checking for ItemStack's instead of EntityItem
The lighting queue spreads out the processing of light updates across multiple ticks based on how much free time the server has left at the end of the tick.
Closes PR #23