createChest must use intfloor to convert from float coords to integer block coords.

This commit is contained in:
David Vierra 2010-11-01 17:33:49 -10:00
parent 1b8bf19113
commit da9ad1d857

2
mce.py
View File

@ -411,7 +411,7 @@ class mce(object):
Create a chest filled with the specified item.
Stacks are 64 if count is not given.
"""
point = self.readPoint(command)
point = map(lambda x: int(floor(float(x))), self.readPoint(command))
itemID = self.readInt(command)
count = 64;
if len(command):