NBT icon indicating copy to clipboard operation
NBT copied to clipboard

Add type check when initializing tags

Open TowardtheStars opened this issue 6 years ago • 0 comments

As said in title, we should check whether an integer was conveyed to an nbt.TAG_Int or not, and so should we check for TAG_String, TAG_Byte, TAG_Short, TAG_Long, TAG_Float, TAG_Double, TAG_Byte_Array, TAG_Int_Array, TAG_Int_Array. This could surly help developers debugging

TowardtheStars avatar Nov 30 '19 08:11 TowardtheStars