Skip to content

Commit

Permalink
fix refill slot list[] offset also
Browse files Browse the repository at this point in the history
  • Loading branch information
VanessaE committed Mar 10, 2021
1 parent afb295e commit 608cdfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion register.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ ui.register_page("craft", {
formspec[n] = ui.single_slot(craftx - 2.5, crafty + 2.5)
formspec[n+1] = string.format("label[%f,%f;%s]", craftx - 2.3, crafty + 2.4,F(S("Refill:")))
formspec[n+2] = string.format("list[detached:%srefill;main;%f,%f;1,1;]",
F(player_name), craftx - 2.2 - ui.list_img_offset, crafty + 2.5 + ui.list_img_offset)
F(player_name), craftx - 2.5 + ui.list_img_offset, crafty + 2.5 + ui.list_img_offset)
end
return {formspec=table.concat(formspec)}
end,
Expand Down

0 comments on commit 608cdfb

Please sign in to comment.