From 742bf023d246e9ff58ac3c747ebc9cfa984e45ac Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 22 Oct 2022 21:20:28 +0000 Subject: [PATCH] Item logger improvements. --- .../gameserver/model/item/instance/Item.java | 26 +++++++------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 2 +- .../gameserver/model/item/instance/Item.java | 2 +- .../gameserver/model/item/instance/Item.java | 2 +- .../gameserver/model/item/instance/Item.java | 26 +++++++------- .../gameserver/model/item/instance/Item.java | 26 +++++++------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 26 +++++++------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- .../gameserver/model/item/instance/Item.java | 34 +++++++++---------- 29 files changed, 429 insertions(+), 429 deletions(-) diff --git a/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 04caa90083..ee67e133d0 100644 --- a/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1052,7 +1052,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1099,7 +1099,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1111,7 +1111,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1127,7 +1127,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1139,7 +1139,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1152,7 +1152,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1173,7 +1173,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1304,7 +1304,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1328,7 +1328,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1634,7 +1634,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1678,7 +1678,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1726,7 +1726,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2142,7 +2142,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_02.5_Underground/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_02.5_Underground/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 72b8514dba..5dad00183c 100644 --- a/L2J_Mobius_02.5_Underground/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_02.5_Underground/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1057,7 +1057,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1104,7 +1104,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1116,7 +1116,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1132,7 +1132,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1144,7 +1144,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1157,7 +1157,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1178,7 +1178,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1309,7 +1309,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1333,7 +1333,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1642,7 +1642,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1689,7 +1689,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1737,7 +1737,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2235,7 +2235,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2298,7 +2298,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2310,7 +2310,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2355,7 +2355,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2399,7 +2399,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_03.0_Helios/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_03.0_Helios/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 72b8514dba..5dad00183c 100644 --- a/L2J_Mobius_03.0_Helios/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_03.0_Helios/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1057,7 +1057,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1104,7 +1104,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1116,7 +1116,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1132,7 +1132,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1144,7 +1144,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1157,7 +1157,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1178,7 +1178,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1309,7 +1309,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1333,7 +1333,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1642,7 +1642,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1689,7 +1689,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1737,7 +1737,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2235,7 +2235,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2298,7 +2298,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2310,7 +2310,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2355,7 +2355,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2399,7 +2399,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/gameserver/model/item/instance/Item.java index b74ff21397..951d1b307f 100644 --- a/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1057,7 +1057,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1104,7 +1104,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1116,7 +1116,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1132,7 +1132,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1144,7 +1144,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1157,7 +1157,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1178,7 +1178,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1309,7 +1309,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1333,7 +1333,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1642,7 +1642,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1689,7 +1689,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1737,7 +1737,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2269,7 +2269,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2332,7 +2332,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2344,7 +2344,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2389,7 +2389,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2433,7 +2433,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 72fe9f2975..0f001c2e3a 100644 --- a/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1118,7 +1118,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1165,7 +1165,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1177,7 +1177,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1193,7 +1193,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1205,7 +1205,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1218,7 +1218,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1239,7 +1239,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1376,7 +1376,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1400,7 +1400,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1709,7 +1709,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1756,7 +1756,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1804,7 +1804,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2342,7 +2342,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2405,7 +2405,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2417,7 +2417,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2462,7 +2462,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2506,7 +2506,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 72fe9f2975..0f001c2e3a 100644 --- a/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1118,7 +1118,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1165,7 +1165,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1177,7 +1177,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1193,7 +1193,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1205,7 +1205,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1218,7 +1218,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1239,7 +1239,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1376,7 +1376,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1400,7 +1400,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1709,7 +1709,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1756,7 +1756,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1804,7 +1804,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2342,7 +2342,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2405,7 +2405,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2417,7 +2417,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2462,7 +2462,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2506,7 +2506,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 72fe9f2975..0f001c2e3a 100644 --- a/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1118,7 +1118,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1165,7 +1165,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1177,7 +1177,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1193,7 +1193,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1205,7 +1205,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1218,7 +1218,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1239,7 +1239,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1376,7 +1376,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1400,7 +1400,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1709,7 +1709,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1756,7 +1756,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1804,7 +1804,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2342,7 +2342,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2405,7 +2405,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2417,7 +2417,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2462,7 +2462,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2506,7 +2506,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 72fe9f2975..0f001c2e3a 100644 --- a/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1118,7 +1118,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1165,7 +1165,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1177,7 +1177,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1193,7 +1193,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1205,7 +1205,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1218,7 +1218,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1239,7 +1239,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1376,7 +1376,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1400,7 +1400,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1709,7 +1709,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1756,7 +1756,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1804,7 +1804,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2342,7 +2342,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2405,7 +2405,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2417,7 +2417,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2462,7 +2462,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2506,7 +2506,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 599ec6ac74..a969e84a51 100644 --- a/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1118,7 +1118,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1165,7 +1165,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1177,7 +1177,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1193,7 +1193,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1205,7 +1205,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1218,7 +1218,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1239,7 +1239,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1376,7 +1376,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1400,7 +1400,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1709,7 +1709,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1756,7 +1756,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1804,7 +1804,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2342,7 +2342,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2405,7 +2405,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2417,7 +2417,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2462,7 +2462,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2506,7 +2506,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 599ec6ac74..a969e84a51 100644 --- a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1118,7 +1118,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1165,7 +1165,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1177,7 +1177,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1193,7 +1193,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1205,7 +1205,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1218,7 +1218,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1239,7 +1239,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1376,7 +1376,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1400,7 +1400,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1709,7 +1709,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1756,7 +1756,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1804,7 +1804,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2342,7 +2342,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2405,7 +2405,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2417,7 +2417,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2462,7 +2462,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2506,7 +2506,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_10.2_MasterClass/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_10.2_MasterClass/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 599ec6ac74..a969e84a51 100644 --- a/L2J_Mobius_10.2_MasterClass/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_10.2_MasterClass/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1118,7 +1118,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1165,7 +1165,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1177,7 +1177,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1193,7 +1193,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1205,7 +1205,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1218,7 +1218,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1239,7 +1239,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1376,7 +1376,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1400,7 +1400,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1709,7 +1709,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1756,7 +1756,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1804,7 +1804,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2342,7 +2342,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2405,7 +2405,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2417,7 +2417,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2462,7 +2462,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2506,7 +2506,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 599ec6ac74..a969e84a51 100644 --- a/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1118,7 +1118,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1165,7 +1165,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1177,7 +1177,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1193,7 +1193,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1205,7 +1205,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1218,7 +1218,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1239,7 +1239,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1376,7 +1376,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1400,7 +1400,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1709,7 +1709,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1756,7 +1756,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1804,7 +1804,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2342,7 +2342,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2405,7 +2405,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2417,7 +2417,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2462,7 +2462,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2506,7 +2506,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 4594011dfe..2f76bbdcd3 100644 --- a/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_CT_0_Interlude/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1907,7 +1907,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.log(Level.INFO, "applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/item/instance/Item.java index a933fde7c3..2b0a764b1d 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -2161,7 +2161,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.log(Level.INFO, "applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/item/instance/Item.java index a933fde7c3..2b0a764b1d 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -2161,7 +2161,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.log(Level.INFO, "applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_1.0/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_1.0/java/org/l2jmobius/gameserver/model/item/instance/Item.java index d5cc725bef..dac32325ff 100644 --- a/L2J_Mobius_Classic_1.0/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_1.0/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1052,7 +1052,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1099,7 +1099,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1111,7 +1111,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1127,7 +1127,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1139,7 +1139,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1152,7 +1152,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1173,7 +1173,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1304,7 +1304,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1328,7 +1328,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1635,7 +1635,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1680,7 +1680,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1728,7 +1728,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2144,7 +2144,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_1.5_AgeOfSplendor/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_1.5_AgeOfSplendor/java/org/l2jmobius/gameserver/model/item/instance/Item.java index d5cc725bef..dac32325ff 100644 --- a/L2J_Mobius_Classic_1.5_AgeOfSplendor/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_1.5_AgeOfSplendor/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1052,7 +1052,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1099,7 +1099,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1111,7 +1111,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1127,7 +1127,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1139,7 +1139,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1152,7 +1152,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1173,7 +1173,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1304,7 +1304,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1328,7 +1328,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1635,7 +1635,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1680,7 +1680,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1728,7 +1728,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2144,7 +2144,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/item/instance/Item.java index b74ff21397..951d1b307f 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1057,7 +1057,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1104,7 +1104,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1116,7 +1116,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1132,7 +1132,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1144,7 +1144,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1157,7 +1157,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1178,7 +1178,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1309,7 +1309,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1333,7 +1333,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1642,7 +1642,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1689,7 +1689,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1737,7 +1737,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2269,7 +2269,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2332,7 +2332,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2344,7 +2344,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2389,7 +2389,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2433,7 +2433,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_2.5_Zaken/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_2.5_Zaken/java/org/l2jmobius/gameserver/model/item/instance/Item.java index b74ff21397..951d1b307f 100644 --- a/L2J_Mobius_Classic_2.5_Zaken/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_2.5_Zaken/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1057,7 +1057,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1104,7 +1104,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1116,7 +1116,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1132,7 +1132,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1144,7 +1144,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1157,7 +1157,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1178,7 +1178,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1309,7 +1309,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1333,7 +1333,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1642,7 +1642,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1689,7 +1689,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1737,7 +1737,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2269,7 +2269,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2332,7 +2332,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2344,7 +2344,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2389,7 +2389,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2433,7 +2433,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_2.7_Antharas/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_2.7_Antharas/java/org/l2jmobius/gameserver/model/item/instance/Item.java index f5b52d20f3..045d6c78eb 100644 --- a/L2J_Mobius_Classic_2.7_Antharas/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_2.7_Antharas/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1109,7 +1109,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1156,7 +1156,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1168,7 +1168,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1184,7 +1184,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1196,7 +1196,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1209,7 +1209,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1230,7 +1230,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1361,7 +1361,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1385,7 +1385,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1694,7 +1694,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1741,7 +1741,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1789,7 +1789,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2321,7 +2321,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2384,7 +2384,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2396,7 +2396,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2441,7 +2441,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2485,7 +2485,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_2.8_SevenSigns/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_2.8_SevenSigns/java/org/l2jmobius/gameserver/model/item/instance/Item.java index f5b52d20f3..045d6c78eb 100644 --- a/L2J_Mobius_Classic_2.8_SevenSigns/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_2.8_SevenSigns/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1109,7 +1109,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1156,7 +1156,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1168,7 +1168,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1184,7 +1184,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1196,7 +1196,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1209,7 +1209,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1230,7 +1230,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1361,7 +1361,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1385,7 +1385,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1694,7 +1694,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1741,7 +1741,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1789,7 +1789,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2321,7 +2321,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2384,7 +2384,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2396,7 +2396,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2441,7 +2441,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2485,7 +2485,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_2.9.5_Saviors/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_2.9.5_Saviors/java/org/l2jmobius/gameserver/model/item/instance/Item.java index f5b52d20f3..045d6c78eb 100644 --- a/L2J_Mobius_Classic_2.9.5_Saviors/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_2.9.5_Saviors/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1109,7 +1109,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1156,7 +1156,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1168,7 +1168,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1184,7 +1184,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1196,7 +1196,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1209,7 +1209,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1230,7 +1230,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1361,7 +1361,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1385,7 +1385,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1694,7 +1694,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1741,7 +1741,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1789,7 +1789,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2321,7 +2321,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2384,7 +2384,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2396,7 +2396,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2441,7 +2441,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2485,7 +2485,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_2.9_SecretOfEmpire/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_2.9_SecretOfEmpire/java/org/l2jmobius/gameserver/model/item/instance/Item.java index f5b52d20f3..045d6c78eb 100644 --- a/L2J_Mobius_Classic_2.9_SecretOfEmpire/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_2.9_SecretOfEmpire/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1109,7 +1109,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1156,7 +1156,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1168,7 +1168,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1184,7 +1184,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1196,7 +1196,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1209,7 +1209,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1230,7 +1230,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1361,7 +1361,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1385,7 +1385,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1694,7 +1694,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1741,7 +1741,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1789,7 +1789,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2321,7 +2321,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2384,7 +2384,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2396,7 +2396,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2441,7 +2441,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2485,7 +2485,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/item/instance/Item.java index f5b52d20f3..045d6c78eb 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1109,7 +1109,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1156,7 +1156,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1168,7 +1168,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1184,7 +1184,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1196,7 +1196,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1209,7 +1209,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1230,7 +1230,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1361,7 +1361,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1385,7 +1385,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1694,7 +1694,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1741,7 +1741,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1789,7 +1789,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2321,7 +2321,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2384,7 +2384,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2396,7 +2396,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2441,7 +2441,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2485,7 +2485,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/item/instance/Item.java index e60e43acd5..60f0559f28 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1050,7 +1050,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1097,7 +1097,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1109,7 +1109,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1125,7 +1125,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1137,7 +1137,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1150,7 +1150,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1171,7 +1171,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1302,7 +1302,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1326,7 +1326,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1633,7 +1633,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1678,7 +1678,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1720,7 +1720,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2136,7 +2136,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 23c1bc7fc4..4c80aea0ec 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1112,7 +1112,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1159,7 +1159,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1171,7 +1171,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1187,7 +1187,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1199,7 +1199,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1212,7 +1212,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1233,7 +1233,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1364,7 +1364,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1388,7 +1388,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1697,7 +1697,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1744,7 +1744,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1792,7 +1792,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2324,7 +2324,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2387,7 +2387,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2399,7 +2399,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2444,7 +2444,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2488,7 +2488,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 23c1bc7fc4..4c80aea0ec 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1112,7 +1112,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1159,7 +1159,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1171,7 +1171,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1187,7 +1187,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1199,7 +1199,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1212,7 +1212,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1233,7 +1233,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1364,7 +1364,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1388,7 +1388,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1697,7 +1697,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1744,7 +1744,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1792,7 +1792,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2324,7 +2324,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2387,7 +2387,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2399,7 +2399,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2444,7 +2444,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2488,7 +2488,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 945fe74bd6..5bb4cef249 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1113,7 +1113,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1160,7 +1160,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1172,7 +1172,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1188,7 +1188,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1200,7 +1200,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1213,7 +1213,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1234,7 +1234,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1365,7 +1365,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1389,7 +1389,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1698,7 +1698,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1745,7 +1745,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1793,7 +1793,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2334,7 +2334,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2397,7 +2397,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2409,7 +2409,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2454,7 +2454,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2498,7 +2498,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } } diff --git a/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/item/instance/Item.java b/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/item/instance/Item.java index 945fe74bd6..5bb4cef249 100644 --- a/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/item/instance/Item.java +++ b/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/item/instance/Item.java @@ -1113,7 +1113,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e); } // Notify to scripts. @@ -1160,7 +1160,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e); } } @@ -1172,7 +1172,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e); } } @@ -1188,7 +1188,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e); } } @@ -1200,7 +1200,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1213,7 +1213,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } if (_elementals == null) @@ -1234,7 +1234,7 @@ public class Item extends WorldObject } catch (SQLException e) { - LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e); } } @@ -1365,7 +1365,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e); } } @@ -1389,7 +1389,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e); + LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e); } } @@ -1698,7 +1698,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e); } } @@ -1745,7 +1745,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e); + LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e); } } @@ -1793,7 +1793,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e); + LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e); } finally { @@ -2334,7 +2334,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e); } } @@ -2397,7 +2397,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e); + LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e); } } @@ -2409,7 +2409,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2454,7 +2454,7 @@ public class Item extends WorldObject } catch (Exception e) { - LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e); + LOGGER.log(Level.WARNING, "Item could not update item special abilities", e); } } @@ -2498,7 +2498,7 @@ public class Item extends WorldObject } else if (id != 0) { - LOGGER.info("applyEnchantStats: Couldn't find option: " + id); + LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player); } } }