Skip to content

Commit 24db608

Browse files
committed
Formatting
1 parent 384572a commit 24db608

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

gamemode/core/libraries/logger.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ lia.log.types = {
742742
category = L("admin")
743743
},
744744
["missingPrivilege"] = {
745-
func = function(client, privilege, playerInfo, groupInfo)
745+
func = function(client, privilege, playerInfo, groupInfo)
746746
if client then
747747
return L("logMissingPrivilege", client:Name(), privilege, playerInfo or "Unknown", groupInfo or "Unknown")
748748
else

gamemode/core/libraries/vendor.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ end
128128
function lia.vendor.addPreset(name, items)
129129
assert(isstring(name), L("vendorPresetNameString"))
130130
assert(istable(items), L("vendorPresetItemsTable"))
131-
132-
-- Filter out items that don't exist
133131
local validItems = {}
134132
for itemType, itemData in pairs(items) do
135133
if lia.item.list[itemType] then
@@ -138,7 +136,7 @@ function lia.vendor.addPreset(name, items)
138136
print("[Vendor] Warning: Item '" .. itemType .. "' in preset '" .. name .. "' does not exist and will be skipped.")
139137
end
140138
end
141-
139+
142140
lia.vendor.presets[string.lower(name)] = validItems
143141
end
144142

gamemode/languages/english.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,6 @@ LANGUAGE = {
606606
categoryServer = "Server",
607607
mustSuperAdminStopSound = "You need the '%s' privilege to run stopsound globally.",
608608
commandConsoleOnly = "This command can only be run from the server console.",
609-
610609
resetInv = "You have cleared %s's inventory!",
611610
searchingChar = "Searching for character...",
612611
noAvailableFlags = "No available flags to give.",

0 commit comments

Comments
 (0)