From f266116dbb70d0b1dc923b2238f79b30bb7b36e1 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 30 Sep 2015 07:54:06 -0500 Subject: [PATCH] Minetest compatibility in scripts --- python2-scripts/mcpipy/donut.py | 2 +- python2-scripts/mcpipy/grenade.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python2-scripts/mcpipy/donut.py b/python2-scripts/mcpipy/donut.py index 07a4022..9b0d51f 100644 --- a/python2-scripts/mcpipy/donut.py +++ b/python2-scripts/mcpipy/donut.py @@ -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") diff --git a/python2-scripts/mcpipy/grenade.py b/python2-scripts/mcpipy/grenade.py index 941086b..e5707d5 100755 --- a/python2-scripts/mcpipy/grenade.py +++ b/python2-scripts/mcpipy/grenade.py @@ -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)