revert tutors to see items like pro

This commit is contained in:
ErikasKontenis 2020-03-22 16:16:39 +02:00
parent 2085604ac0
commit 273e892e3d

View File

@ -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())