From 5f3004c78d09d2572ec6e8e74740d81820be0e63 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 30 Jan 2021 16:50:53 +0100 Subject: [PATCH] Add Fix SQL Exception --- SpigotCore_Main/src/de/steamwar/sql/PersonalKit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/sql/PersonalKit.java b/SpigotCore_Main/src/de/steamwar/sql/PersonalKit.java index 9db33f0..6c58500 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/PersonalKit.java +++ b/SpigotCore_Main/src/de/steamwar/sql/PersonalKit.java @@ -162,7 +162,7 @@ public class PersonalKit { } public void delete() { - SQL.update("DELETE FROM `PersonalKit` WHERE KitID = ?"); + SQL.update("DELETE FROM `PersonalKit` WHERE UserID = ? AND GameMode = ? AND Name = ?", userID, gamemode, name); } private static String saveInvConfig(String name, ItemStack[] inv) {