Skip to content

Commit 6ee2b5a

Browse files
authored
refactor(client/api): display resource in invalid entity warning (#184)
Signed-off-by: CFOUR <116594943+cfoour@users.noreply.github.com>
1 parent 92cd4e3 commit 6ee2b5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ function api.addLocalEntity(arr, options)
338338

339339
addTarget(localEntities[entityId], options, resource)
340340
else
341-
print(("No entity with id '%s' exists."):format(entityId))
341+
lib.print.warn(("No entity with id '%s' exists in %s."):format(entityId, resource))
342342
end
343343
end
344344
end

0 commit comments

Comments
 (0)