diff options
author | JPG <jeanpatrick.guerrero@gmail.com> | 2016-12-16 03:33:07 +0100 |
---|---|---|
committer | JPG <jeanpatrick.guerrero@gmail.com> | 2016-12-16 03:33:07 +0100 |
commit | 128413ca04c9067810b5c80b9170882493419d42 (patch) | |
tree | cb09b506ea6ded0ef818aa04837a6dbbcc07d1b8 /init.lua | |
parent | 298397e7dd3d1a3f142a1d64949a5786af03e720 (diff) |
Correctly place a label
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -142,7 +142,8 @@ function craftguide:get_formspec(player_name, no_recipe_update) minetest.formspec_escape(data.filter).."]" if not next(data.items) then - formspec = formspec.."label["..(xoffset-1)..".9,2;No item to show]" + formspec = formspec.."label["..(xoffset - + (iX%2 == 0 and 1.5 or 1))..",2;No item to show]" end local first_item = (data.pagenum - 1) * ipp |