Bug Fix for Cupola

Fixed getLightValue bug(occurs with block next to slave(top half) on break of bottom block)
Fix null reference on "Optional<Inventory> masterInventory"