From 273e892e3d5b47fa19cccc0c4ff2ce3d45e492ad Mon Sep 17 00:00:00 2001 From: ErikasKontenis Date: Sun, 22 Mar 2020 16:16:39 +0200 Subject: [PATCH] revert tutors to see items like pro --- data/events/scripts/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/events/scripts/player.lua b/data/events/scripts/player.lua index 500b588..0cf8a29 100644 --- a/data/events/scripts/player.lua +++ b/data/events/scripts/player.lua @@ -1,6 +1,6 @@ function Player:onLook(thing, position, distance) local description = "You see " .. thing:getDescription(distance) - if self:getAccountType() ~= ACCOUNT_TYPE_NORMAL then + if self:getGroup():getAccess() then if thing:isItem() then description = string.format("%s\nItem ID: %d", description, thing:getId())