mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-27 03:10:39 +01:00
Small fix
This commit is contained in:
parent
9aedeacf6b
commit
bf3979cc79
3
init.lua
3
init.lua
@ -1822,7 +1822,8 @@ trash:set_size("main", 1)
|
|||||||
|
|
||||||
core.register_on_player_inventory_action(function(player, action, inv, info)
|
core.register_on_player_inventory_action(function(player, action, inv, info)
|
||||||
if (info.from_list == "main" and info.to_list == "craft") or
|
if (info.from_list == "main" and info.to_list == "craft") or
|
||||||
(info.from_list == "craft" and info.to_list == "main") then
|
(info.from_list == "craft" and info.to_list == "main") or
|
||||||
|
(info.from_list == "craftresult" and info.to_list == "main") then
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
local data = pdata[name]
|
local data = pdata[name]
|
||||||
local fs = make_fs(player, data)
|
local fs = make_fs(player, data)
|
||||||
|
Loading…
Reference in New Issue
Block a user