wasplib: add get item meta
This commit is contained in:
parent
52a8195019
commit
8193e3bd23
@ -761,4 +761,11 @@ function ws.inside_wall(pos)
|
||||
local p2=iwall_pos2
|
||||
if ws.in_cube(pos,p1,p2) then return true end
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
-- DEBUG
|
||||
local function printwieldedmeta()
|
||||
ws.dcm(dump(minetest.localplayer:get_wielded_item():get_meta():to_table()))
|
||||
end
|
||||
minetest.register_cheat('ItemMeta','Test',printwieldedmeta)
|
Loading…
x
Reference in New Issue
Block a user