You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this can normally be fine this sucks when you're removing a string from a string list tag where duplicates are likely to be more apparent causing issues where the tag is just completely empty when you only wanted to removed one element.
I wouldn't call this a bug but should likely be treated as one when the javadocs explicitly state that it "Removes the first occurrence of the specified element from this list" (Copied form List interface)
The text was updated successfully, but these errors were encountered:
Currently under the
NBTList#remove
method you're usingWhile this can normally be fine this sucks when you're removing a string from a string list tag where duplicates are likely to be more apparent causing issues where the tag is just completely empty when you only wanted to removed one element.
I wouldn't call this a bug but should likely be treated as one when the javadocs explicitly state that it "Removes the first occurrence of the specified element from this list" (Copied form List interface)
The text was updated successfully, but these errors were encountered: