projects
/
zefram
/
minetest
/
pipeworks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd3c88e
)
delete redundant check
author
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Sun, 25 May 2014 01:20:31 +0000
(21:20 -0400)
committer
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Sun, 25 May 2014 01:20:31 +0000
(21:20 -0400)
deployer.lua
patch
|
blob
|
history
diff --git
a/deployer.lua
b/deployer.lua
index cfcc794037499bd3200ea72c7eda9b8ad5edbcd6..40b5883b9cdcbb002e81a14beaf5977464a4250c 100644
(file)
--- a/
deployer.lua
+++ b/
deployer.lua
@@
-94,7
+94,7
@@
local function deployer_on(pos, node)
}
local pointed_thing = {type="node", under=pos_under, above=pos_above}
local stack2
- if minetest.registered_items[stack:get_name()]
and minetest.registered_items[stack:get_name()]
then
+ if minetest.registered_items[stack:get_name()] then
stack2 = minetest.registered_items[stack:get_name()].on_place(stack, placer, pointed_thing)
end
--if minetest.setting_getbool("creative_mode") and not minetest.get_modpath("unified_inventory") then --infinite stacks ahoy!