Fix database log query
0b9aee33e0
introduced a bug where economy
logs couldn't be submitted to the databse
This commit is contained in:
parent
e3c1b17b15
commit
7d5ce492b1
|
@ -509,7 +509,7 @@ public abstract class Database {
|
|||
*/
|
||||
public void logEconomy(final Player executor, Shop shop, ShopProduct product, double price, double taxedPrice, Type type, final Callback<Void> callback) {
|
||||
final String query = "INSERT INTO " + tableLogs + " (shop_id,timestamp,time,player_name,player_uuid,product_name,product,amount,"
|
||||
+ "vendor_name,vendor_uuid,admin,world,x,y,z,price,taxed_price,type) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
|
||||
+ "vendor_name,vendor_uuid,admin,world,x,y,z,price,taxed_price,type) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
|
||||
|
||||
if (Config.enableEconomyLog) {
|
||||
new BukkitRunnable() {
|
||||
|
|
Loading…
Reference in New Issue