Fix 2×2 crafting

This commit is contained in:
Wuzzy 2017-06-02 01:14:21 +02:00
parent d4d7d8792f
commit 6f1e958758
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ end
minetest.register_on_player_receive_fields(function(player, formname, fields)
if fields.quit then
drop_fields(player,"craft")
if not minetest.setting_getbool("creative_mode") and formname == "" then
if not minetest.setting_getbool("creative_mode") and (formname == "" or formname == "main") then
set_inventory(player)
end
end