mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-23 03:13:44 +01:00
Small cleaning
This commit is contained in:
parent
7e3a322b0e
commit
46d1c114f2
3
init.lua
3
init.lua
@ -1321,8 +1321,9 @@ local function make_fs(data)
|
|||||||
if not item then break end
|
if not item then break end
|
||||||
|
|
||||||
local X = i % ROWS
|
local X = i % ROWS
|
||||||
|
X = X + (X * 0.05) + 0.2
|
||||||
|
|
||||||
local Y = (i % IPP - X) / ROWS + 1
|
local Y = (i % IPP - X) / ROWS + 1
|
||||||
X = X - (X * -0.05) + 0.2
|
|
||||||
Y = Y + (Y * 0.05)
|
Y = Y + (Y * 0.05)
|
||||||
|
|
||||||
if data.query_item == item then
|
if data.query_item == item then
|
||||||
|
Loading…
Reference in New Issue
Block a user