createChest must use intfloor to convert from float coords to integer block coords.
This commit is contained in:
parent
1b8bf19113
commit
da9ad1d857
2
mce.py
2
mce.py
@ -411,7 +411,7 @@ class mce(object):
|
|||||||
Create a chest filled with the specified item.
|
Create a chest filled with the specified item.
|
||||||
Stacks are 64 if count is not given.
|
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)
|
itemID = self.readInt(command)
|
||||||
count = 64;
|
count = 64;
|
||||||
if len(command):
|
if len(command):
|
||||||
|
Reference in New Issue
Block a user