wasplib: add get item meta

wsc-master
cora 2021-07-29 23:40:45 +02:00
parent 52a8195019
commit 8193e3bd23
1 changed files with 8 additions and 1 deletions

View File

@ -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)