Fix luacheck warning
This commit is contained in:
parent
ed967ddd0d
commit
bd1d21f833
@ -679,10 +679,10 @@ minetest.register_on_player_receive_fields(function(player, name, fields)
|
||||
local meta = minetest.get_meta(player_tables[player:get_player_name()].pos);
|
||||
|
||||
local rank = 1;
|
||||
local name = minetest.get_node(player_tables[player:get_player_name()].pos).name;
|
||||
if name == "cartographer:standard_table" then
|
||||
local node_name = minetest.get_node(player_tables[player:get_player_name()].pos).name;
|
||||
if node_name == "cartographer:standard_table" then
|
||||
rank = 2;
|
||||
elseif name == "cartographer:advanced_table" then
|
||||
elseif node_name == "cartographer:advanced_table" then
|
||||
rank = 3;
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user