Add core.remove_detached_inventory (#7684)

Breaks backwards compatibility for good
Bump protocol version
This commit is contained in:
SmallJoker 2018-10-10 20:48:58 +02:00 committed by Nils Dagsson Moskopp
parent 1dba8b8933
commit ac46613f9c
Signed by: erlehmann
GPG Key ID: A3BC671C35191080
1 changed files with 4 additions and 0 deletions

View File

@ -18,3 +18,7 @@ function core.create_detached_inventory(name, callbacks, player_name)
return core.create_detached_inventory_raw(name, player_name)
end
function core.remove_detached_inventory(name)
core.detached_inventories[name] = nil
return core.remove_detached_inventory_raw(name)
end