From 9ffa2d2992f525142ac38524551e26199468b8d5 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Wed, 30 Oct 2019 23:42:24 +0000 Subject: [PATCH] Better destroy item log for ChangePlayerName. --- .../data/scripts/handlers/bypasshandlers/ChangePlayerName.java | 2 +- .../data/scripts/handlers/bypasshandlers/ChangePlayerName.java | 2 +- .../data/scripts/handlers/bypasshandlers/ChangePlayerName.java | 2 +- .../data/scripts/handlers/bypasshandlers/ChangePlayerName.java | 2 +- .../data/scripts/handlers/bypasshandlers/ChangePlayerName.java | 2 +- .../data/scripts/handlers/bypasshandlers/ChangePlayerName.java | 2 +- .../data/scripts/handlers/bypasshandlers/ChangePlayerName.java | 2 +- .../data/scripts/handlers/bypasshandlers/ChangePlayerName.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java index e1f7e2c7ea..2300a41909 100644 --- a/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java +++ b/L2J_Mobius_1.0_Ertheia/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java @@ -61,7 +61,7 @@ public class ChangePlayerName implements IBypassHandler } // Destroy item. - player.destroyItemByItemId("ChangePlayerName", NAME_CHANGE_TICKET, 1, player, true); + player.destroyItemByItemId("ChangePlayerName to " + newName, NAME_CHANGE_TICKET, 1, player, true); // Set name and proceed. player.setName(newName); diff --git a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java index e1f7e2c7ea..2300a41909 100644 --- a/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java +++ b/L2J_Mobius_2.5_Underground/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java @@ -61,7 +61,7 @@ public class ChangePlayerName implements IBypassHandler } // Destroy item. - player.destroyItemByItemId("ChangePlayerName", NAME_CHANGE_TICKET, 1, player, true); + player.destroyItemByItemId("ChangePlayerName to " + newName, NAME_CHANGE_TICKET, 1, player, true); // Set name and proceed. player.setName(newName); diff --git a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java index e1f7e2c7ea..2300a41909 100644 --- a/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java +++ b/L2J_Mobius_3.0_Helios/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java @@ -61,7 +61,7 @@ public class ChangePlayerName implements IBypassHandler } // Destroy item. - player.destroyItemByItemId("ChangePlayerName", NAME_CHANGE_TICKET, 1, player, true); + player.destroyItemByItemId("ChangePlayerName to " + newName, NAME_CHANGE_TICKET, 1, player, true); // Set name and proceed. player.setName(newName); diff --git a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java index e1f7e2c7ea..2300a41909 100644 --- a/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java +++ b/L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java @@ -61,7 +61,7 @@ public class ChangePlayerName implements IBypassHandler } // Destroy item. - player.destroyItemByItemId("ChangePlayerName", NAME_CHANGE_TICKET, 1, player, true); + player.destroyItemByItemId("ChangePlayerName to " + newName, NAME_CHANGE_TICKET, 1, player, true); // Set name and proceed. player.setName(newName); diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java index e1f7e2c7ea..2300a41909 100644 --- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java +++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java @@ -61,7 +61,7 @@ public class ChangePlayerName implements IBypassHandler } // Destroy item. - player.destroyItemByItemId("ChangePlayerName", NAME_CHANGE_TICKET, 1, player, true); + player.destroyItemByItemId("ChangePlayerName to " + newName, NAME_CHANGE_TICKET, 1, player, true); // Set name and proceed. player.setName(newName); diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java index e1f7e2c7ea..2300a41909 100644 --- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java +++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java @@ -61,7 +61,7 @@ public class ChangePlayerName implements IBypassHandler } // Destroy item. - player.destroyItemByItemId("ChangePlayerName", NAME_CHANGE_TICKET, 1, player, true); + player.destroyItemByItemId("ChangePlayerName to " + newName, NAME_CHANGE_TICKET, 1, player, true); // Set name and proceed. player.setName(newName); diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java index fef6c1e448..3fa09cd9ea 100644 --- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java +++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java @@ -61,7 +61,7 @@ public class ChangePlayerName implements IBypassHandler } // Destroy item. - player.destroyItemByItemId("ChangePlayerName", NAME_CHANGE_TICKET, 1, player, true); + player.destroyItemByItemId("ChangePlayerName to " + newName, NAME_CHANGE_TICKET, 1, player, true); // Set name and proceed. player.setName(newName); diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java index e1f7e2c7ea..2300a41909 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/handlers/bypasshandlers/ChangePlayerName.java @@ -61,7 +61,7 @@ public class ChangePlayerName implements IBypassHandler } // Destroy item. - player.destroyItemByItemId("ChangePlayerName", NAME_CHANGE_TICKET, 1, player, true); + player.destroyItemByItemId("ChangePlayerName to " + newName, NAME_CHANGE_TICKET, 1, player, true); // Set name and proceed. player.setName(newName);