mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-14 18:24:54 +02:00
bye bye trailing whitespaces (#442)
This commit is contained in:
@@ -19,7 +19,7 @@ function onSay(player, words, param)
|
||||
print("Player: " .. player:getName() .. " triggered !shop talkaction.")
|
||||
-- Create the query
|
||||
local orderQuery = db.storeQuery("SELECT `id`, `type`, `itemid`, `count` FROM `znote_shop_orders` WHERE `account_id` = " .. player:getAccountId() .. ";")
|
||||
local served = false
|
||||
local served = false
|
||||
|
||||
-- Detect if we got any results
|
||||
if orderQuery ~= false then
|
||||
@@ -31,7 +31,7 @@ function onSay(player, words, param)
|
||||
local q_count = result.getNumber(orderQuery, "count")
|
||||
|
||||
local description = "Unknown or custom type"
|
||||
if type_desc[q_type] ~= nil then
|
||||
if type_desc[q_type] ~= nil then
|
||||
description = type_desc[q_type]
|
||||
end
|
||||
print("Processing type "..q_type..": ".. description)
|
||||
|
Reference in New Issue
Block a user