diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-01-19 13:27:52 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-01-19 13:27:52 -0500 |
commit | 26473a83465a827716cf52f65a473a082f1d9b5b (patch) | |
tree | cfdd6b10ae8465568465ce0f013923683e234910 /internal.lua | |
parent | d560bcd6f0ba8b885127c5d5d2315fb72c2d1f47 (diff) |
Remove trailing whitespace
Diffstat (limited to 'internal.lua')
-rw-r--r-- | internal.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal.lua b/internal.lua index c88babf..3696cfc 100644 --- a/internal.lua +++ b/internal.lua @@ -62,7 +62,7 @@ function unified_inventory.get_formspec(player, page) local item = {} for y = 0, 9 do for x = 0, 7 do - local name = unified_inventory.filtered_items_list[player_name][list_index] + local name = unified_inventory.filtered_items_list[player_name][list_index] if minetest.registered_items[name] then formspec = formspec.."item_image_button[" ..(8.2 + x * 0.7).."," @@ -89,7 +89,7 @@ end --apply filter to the inventory list (create filtered copy of full one) function unified_inventory.apply_filter(player, filter) - local player_name = player:get_player_name() + local player_name = player:get_player_name() local size = 0 local lfilter = string.lower(filter) if not pcall(function() ("technic:test"):find(lfilter) end) then |