Advertisement
gigilo1968

CW

Apr 19th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.92 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P L2J_Mobius_Helios
  3. Index: java/com/l2jmobius/gameserver/model/CursedWeapon.java
  4. ===================================================================
  5. --- java/com/l2jmobius/gameserver/model/CursedWeapon.java   (revision 2023)
  6. +++ java/com/l2jmobius/gameserver/model/CursedWeapon.java   (working copy)
  7. @@ -479,7 +479,7 @@
  8.        
  9.         try (Connection con = DatabaseFactory.getInstance().getConnection();
  10.             PreparedStatement del = con.prepareStatement("DELETE FROM cursed_weapons WHERE itemId = ?");
  11. -           PreparedStatement ps = con.prepareStatement("INSERT INTO cursed_weapons (itemId, charId, reputation, playerPkKills, nbKills, endTime) VALUES (?, ?, ?, ?, ?, ?)"))
  12. +           PreparedStatement ps = con.prepareStatement("INSERT INTO cursed_weapons (itemId, charId, playerReputation, playerPkKills, nbKills, endTime) VALUES (?, ?, ?, ?, ?, ?)"))
  13.         {
  14.             // Delete previous datas
  15.             del.setInt(1, _itemId);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement