refactor: print an error getMeta when debug enabled

This commit is contained in:
CENSOR_1337
2023-06-14 07:46:29 +07:00
parent 002a03b5db
commit c8a7e5500e
+1 -1
View File
@@ -615,7 +615,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
return self.metadata[index]
else
return
return Config.EnableDebug and print(("[^1ERROR^7] xPlayer.getMeta ^5%s^7 not exist!"):format(index)) or nil
end
end