Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Quick fix for error when getting blocks for old MC version #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ywilke
Copy link

@ywilke ywilke commented Nov 29, 2021

The self.version is set to None if the data is from an old MC version.
One line was not changed to also deal with None values instead of only integers.
This would lead to "TypeError: '<' not supported between instances of 'NoneType' and 'int'"

The self.version is set to None if the data is from an old MC version.
One line was not changed to also deal with None values instead of only integers.
This would lead to "TypeError: '<' not supported between instances of 'NoneType' and 'int'"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant