mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Removed whitespaces
This commit is contained in:
@ -67,7 +67,7 @@ function unified_inventory.get_formspec(player, page)
|
||||
|
||||
-- Controls to flip items pages
|
||||
local start_x = 9.2
|
||||
formspec = formspec
|
||||
formspec = formspec
|
||||
.. "image_button[" .. (start_x + 0.6 * 0)
|
||||
.. ",9;.8,.8;ui_skip_backward_icon.png;start_list;]"
|
||||
.. "tooltip[start_list;" .. minetest.formspec_escape(S("First page")) .. "]"
|
||||
|
@ -8,7 +8,7 @@ local air_hud_mod = minetest.get_modpath("4air")
|
||||
local hud_mod = minetest.get_modpath("hud")
|
||||
|
||||
local function set_hud(player)
|
||||
local player_name = player:get_player_name()
|
||||
local player_name = player:get_player_name()
|
||||
local off = {x=0, y=-70}
|
||||
if air_hud_mod or hud_mod then
|
||||
off.y = off.y - 20
|
||||
@ -42,7 +42,7 @@ minetest.register_globalstep(function(dtime)
|
||||
if wstack ~= wield[player_name] then
|
||||
wield[player_name] = wstack
|
||||
dtimes[player_name] = 0
|
||||
if huds[player_name] then
|
||||
if huds[player_name] then
|
||||
local def = minetest.registered_items[wstack]
|
||||
local desc = def and def.description or ""
|
||||
player:hud_change(huds[player_name], 'text', desc)
|
||||
|
Reference in New Issue
Block a user