Skip to content

Commit

Permalink
fix entity.setTilePos bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Jun 16, 2017
1 parent 43593fd commit 0c5c137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcpipy/mcpi/minecraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def getTilePos(self, id, *args):

def setTilePos(self, id, *args):
"""Set entity tile position (entityId:int) => Vec3"""
self.conn.send(self.pkg + ".setTile", id, floorFlatten(*args))
self.conn.send(self.pkg + ".setTile", id, floorFlatten(args))

def setting(self, setting, status):
"""Set a player setting (setting, status). keys: autojump"""
Expand Down

0 comments on commit 0c5c137

Please sign in to comment.