diff --git a/L2J_Mobius_Helios/java/com/l2jmobius/gameserver/model/CursedWeapon.java b/L2J_Mobius_Helios/java/com/l2jmobius/gameserver/model/CursedWeapon.java index 0e84de7ba5..d6361de2d2 100644 --- a/L2J_Mobius_Helios/java/com/l2jmobius/gameserver/model/CursedWeapon.java +++ b/L2J_Mobius_Helios/java/com/l2jmobius/gameserver/model/CursedWeapon.java @@ -479,7 +479,7 @@ public class CursedWeapon implements INamable try (Connection con = DatabaseFactory.getInstance().getConnection(); PreparedStatement del = con.prepareStatement("DELETE FROM cursed_weapons WHERE itemId = ?"); - PreparedStatement ps = con.prepareStatement("INSERT INTO cursed_weapons (itemId, charId, reputation, playerPkKills, nbKills, endTime) VALUES (?, ?, ?, ?, ?, ?)")) + PreparedStatement ps = con.prepareStatement("INSERT INTO cursed_weapons (itemId, charId, playerReputation, playerPkKills, nbKills, endTime) VALUES (?, ?, ?, ?, ?, ?)")) { // Delete previous datas del.setInt(1, _itemId); diff --git a/L2J_Mobius_Underground/java/com/l2jmobius/gameserver/model/CursedWeapon.java b/L2J_Mobius_Underground/java/com/l2jmobius/gameserver/model/CursedWeapon.java index 0e84de7ba5..d6361de2d2 100644 --- a/L2J_Mobius_Underground/java/com/l2jmobius/gameserver/model/CursedWeapon.java +++ b/L2J_Mobius_Underground/java/com/l2jmobius/gameserver/model/CursedWeapon.java @@ -479,7 +479,7 @@ public class CursedWeapon implements INamable try (Connection con = DatabaseFactory.getInstance().getConnection(); PreparedStatement del = con.prepareStatement("DELETE FROM cursed_weapons WHERE itemId = ?"); - PreparedStatement ps = con.prepareStatement("INSERT INTO cursed_weapons (itemId, charId, reputation, playerPkKills, nbKills, endTime) VALUES (?, ?, ?, ?, ?, ?)")) + PreparedStatement ps = con.prepareStatement("INSERT INTO cursed_weapons (itemId, charId, playerReputation, playerPkKills, nbKills, endTime) VALUES (?, ?, ?, ?, ?, ?)")) { // Delete previous datas del.setInt(1, _itemId);