Skip to content

Commit

Permalink
Fix crafting.make_on_rightclick()
Browse files Browse the repository at this point in the history
Someone forgot to put a **]** on the end of the size element and the first row of the player inventory overlapped the second row
  • Loading branch information
LoneWolfHT authored and rubenwardy committed Mar 28, 2019
1 parent 75c9240 commit a27ab71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ function crafting.make_on_rightclick(type, level, inv_size)

local function show(player, context)
local formspec = crafting.make_result_selector(player, type, level, inv_size, context)
formspec = "size[" .. inv_size.x .. "," .. (inv_size.y + 4.6) ..
"list[current_player;main;0," .. (inv_size.y + 1.7) ..";8,1;]" ..
"list[current_player;main;0," .. (inv_size.y + 1.85) ..";8,3;8]" .. formspec
formspec = "size[" .. inv_size.x .. "," .. (inv_size.y + 5.6) ..
"]list[current_player;main;0," .. (inv_size.y + 1.7) ..";8,1;]" ..
"list[current_player;main;0," .. (inv_size.y + 2.85) ..";8,3;8]" .. formspec
minetest.show_formspec(player:get_player_name(), formname, formspec)
end

Expand Down

0 comments on commit a27ab71

Please sign in to comment.