Check that item in hand is not null after book event. Fixes BUKKIT-5443
Manual merge of c72b381