mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-17 15:58:29 +01:00
Fix deployer in latest minetest.
Broken when shift-click to avoid on_rightclick was added.
This commit is contained in:
parent
d9c1984d20
commit
23f889dfbc
@ -47,6 +47,7 @@ deployer_on = function(pos, node)
|
||||
local placer={}
|
||||
function placer:get_player_name() return "deployer" end
|
||||
function placer:getpos() return pos end
|
||||
function placer:get_player_control() return {jump=false,right=false,left=false,LMB=false,RMB=false,sneak=false,aux1=false,down=false,up=false} end
|
||||
local stack2=minetest.item_place(stack,placer,{type="node", under=pos1, above=pos2})
|
||||
invlist[i]=stack2
|
||||
inv:set_list("main",invlist)
|
||||
|
Loading…
Reference in New Issue
Block a user