Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P L2J_Mobius_Helios
- Index: java/com/l2jmobius/gameserver/model/CursedWeapon.java
- ===================================================================
- --- java/com/l2jmobius/gameserver/model/CursedWeapon.java (revision 2023)
- +++ java/com/l2jmobius/gameserver/model/CursedWeapon.java (working copy)
- @@ -479,7 +479,7 @@
- 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);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement