Compare commits

...

1 Commits

Author SHA1 Message Date
loosewheel
9519eae026 Add files via upload 2022-01-20 17:58:09 +10:00
4 changed files with 7 additions and 3 deletions

View File

@@ -91,3 +91,7 @@ v0.1.15
v0.1.16 v0.1.16
* Fixed piston interaction with non-walkable nodes. * Fixed piston interaction with non-walkable nodes.
v0.1.17
* Fixed unintended global variable in pistons.lua.

View File

@@ -1,4 +1,4 @@
local version = "0.1.16" local version = "0.1.17"
local mod_storage = minetest.get_mod_storage () local mod_storage = minetest.get_mod_storage ()

View File

@@ -52,7 +52,7 @@ local function push_entities (pos, vec)
if tnode.name == "air" then if tnode.name == "air" then
can_move = true can_move = true
else else
tdef = utils.find_item_def (tnode.name) local tdef = utils.find_item_def (tnode.name)
can_move = tdef and not tdef.walkable can_move = tdef and not tdef.walkable
end end

View File

@@ -13,7 +13,7 @@ CC BY-SA 3.0
Version Version
======= =======
0.1.16 0.1.17
Minetest Version Minetest Version