We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similar to #64, the delitem in TAG_Int_Array has an extra parameter. This causes Exceptions with pop() and remove().
The text was updated successfully, but these errors were encountered:
Merge pull request #71 from sbliven/master
324720c
Fix #70
Thanks!
If you have a small code snippet that failed, I'll make a test case to make sure this type of bug does not resurface.
Sorry, something went wrong.
The problem should surface when calling pop() on any TAG_int_array:
int_array.pop(0)
Specifically, I came across it when writing a script to reorder my server.dat file:
import os from nbt import nbt mcserverdat = os.path.expanduser("~/Library/Application Support/minecraft/servers.dat") nbtfile = nbt.NBTFile(buffer=open(mcserverdat)) nbtfile["servers"].pop(0)
Successfully merging a pull request may close this issue.
Similar to #64, the delitem in TAG_Int_Array has an extra parameter. This causes Exceptions with pop() and remove().
The text was updated successfully, but these errors were encountered: