Overwrite equals() and hashCode() method in NbtTagBoolean and NbtTagByte.