Fixed Syntax Again - Forgot One

This commit is contained in:
Cooldude2606
2018-03-08 16:53:31 +00:00
parent 98109218f9
commit 8a95810b85

View File

@@ -49,7 +49,7 @@ end
function search_player(player)
for category,items in pairs(_root_tree) do
if category ~= 'low_items' or not Ranking.get_rank(player).allowed('admin-items') then
if category ~= 'low_items' or not Ranking.get_rank(player):allowed('admin-items') then
for _,_inventory in pairs(inventorys) do
local inventory = player.get_inventory(_inventory)
if inventory then