From da9ad1d857f9fa37f47c0ca743ba41b89ddf0e28 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Mon, 1 Nov 2010 17:33:49 -1000 Subject: [PATCH] createChest must use intfloor to convert from float coords to integer block coords. --- mce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mce.py b/mce.py index 0f95237..4c85bdf 100644 --- a/mce.py +++ b/mce.py @@ -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):