mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Fix 2×2 crafting
This commit is contained in:
parent
d4d7d8792f
commit
6f1e958758
@ -132,7 +132,7 @@ end
|
|||||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||||
if fields.quit then
|
if fields.quit then
|
||||||
drop_fields(player,"craft")
|
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)
|
set_inventory(player)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user