Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect ValueError introduced in #537c645.
The underlying cause is the poor API of NBT: rather than having multiple factory methods, there is just one __init__ which takes a plethora of arguments, and tries to figure out how to instantiate an object (from value, from buffer, etc.). The additional logic required to make this work is causing too much code and too much bugs.
- Loading branch information