From 55a83b17fd561fb7810fb8046b970f5c8c5ebaec Mon Sep 17 00:00:00 2001 From: David Vierra Date: Wed, 5 Oct 2016 06:35:29 -1000 Subject: [PATCH] Fix integer width mismatch in analyze.py Fixes #278 --- src/mceditlib/operations/analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mceditlib/operations/analyze.py b/src/mceditlib/operations/analyze.py index d075a69c..f91e4554 100644 --- a/src/mceditlib/operations/analyze.py +++ b/src/mceditlib/operations/analyze.py @@ -26,7 +26,7 @@ def __init__(self, dimension, selection): super(AnalyzeOperation, self).__init__(dimension, selection) self.createSections = False - self.blocks = numpy.zeros(65536, dtype='uint32') + self.blocks = numpy.zeros(65536, dtype='uintp') self.selection = selection self.entityCounts = defaultdict(int) self.tileEntityCounts = defaultdict(int)