mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-12-29 04:00:24 +01:00
remove a couple of unused variables
This commit is contained in:
parent
a5a09bcd3a
commit
eb6697aa0d
@ -85,7 +85,6 @@ function unified_inventory.get_formspec(player, page)
|
||||
local player_name = player:get_player_name()
|
||||
local ui_peruser,draw_lite_mode = unified_inventory.get_per_player_formspec(player_name)
|
||||
|
||||
local formheaderx = ui_peruser.form_header_x
|
||||
local formheadery = ui_peruser.form_header_y
|
||||
|
||||
unified_inventory.current_page[player_name] = page
|
||||
|
@ -1,7 +1,6 @@
|
||||
local S = minetest.get_translator("unified_inventory")
|
||||
local NS = function(s) return s end
|
||||
local F = minetest.formspec_escape
|
||||
local inv_voffs = 4.75
|
||||
|
||||
minetest.register_privilege("creative", {
|
||||
description = S("Can use the creative inventory"),
|
||||
@ -170,7 +169,6 @@ unified_inventory.register_page("craft", {
|
||||
local formheadery = perplayer_formspec.form_header_y
|
||||
local craftx = perplayer_formspec.craft_x
|
||||
local crafty = perplayer_formspec.craft_y
|
||||
local inv_voffs = perplayer_formspec.inv_voffs
|
||||
local craftresultx = craftx + 5
|
||||
|
||||
local player_name = player:get_player_name()
|
||||
|
Loading…
Reference in New Issue
Block a user