Fixed NBT Deletion Bug by Simplifying Code