Skip to content

Commit

Permalink
Minetest compatibility in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Sep 30, 2015
1 parent c7b71f2 commit f266116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python2-scripts/mcpipy/donut.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def draw_donut(mcx,mcy,mcz,R,r,mcblock):

draw_donut(playerPos.x, playerPos.y + 9, playerPos.z, 18, 9, GLASS)
mc.postToChat("Glass donut done")
draw_donut(playerPos.x, playerPos.y + 9, playerPos.z, 18, 6, WATER)
draw_donut(playerPos.x, playerPos.y + 9, playerPos.z, 18, 6, WATER_STATIONARY)
mc.postToChat("Water donut done")
2 changes: 1 addition & 1 deletion python2-scripts/mcpipy/grenade.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ def getXYZ(path, t1):
if t > path[-1][0]:
break

mc.setBlock(path[-1][1],REDSTONE_BLOCK)
mc.setBlock(path[-1][1],FIRE)

0 comments on commit f266116

Please sign in to comment.