Skip to content

Commit

Permalink
Merge pull request #117 from mkuw/patch-1
Browse files Browse the repository at this point in the history
Fix in chunk.AnvilSection._init_index
  • Loading branch information
macfreek authored Mar 15, 2019
2 parents aef2712 + f2698cf commit b06dd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbt/chunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _init_index(self, nbt):

lh = (lh & (pow(2, bh) - 1)) << bl
ll = (ll & (pow(2, bl) - 1))
self.indexes.append(lh & ll)
self.indexes.append(lh | ll)

ll = states[j]
ll = ll >> bh
Expand Down

0 comments on commit b06dd6c

Please sign in to comment.