Fixed problems/bugs

Fixed a NullPointerException and people being able to give others' items
by dropping them on the ground or by putting them in a chest and
breaking it