mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-28 12:46:02 +02:00
Keys: Update default.can_interact_with_node to new item meta
Completes a forgotten update in 9d3a526
This commit is contained in:
@ -149,6 +149,7 @@ function _doors.door_toggle(pos, node, clicker)
|
||||
|
||||
if key_meta:get_string("secret") == "" then
|
||||
key_meta:set_string("secret", minetest.parse_json(item:get_metadata()).secret)
|
||||
item:set_metadata("")
|
||||
end
|
||||
|
||||
if secret ~= key_meta:get_string("secret") then
|
||||
|
Reference in New Issue
Block a user