From b73c6387bdce7ac6d8fe4736d6b5692563f728a5 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 17 Dec 2021 16:46:50 +0000 Subject: [PATCH] Send item list after admin adds item to player. --- .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ .../scripts/handlers/admincommandhandlers/AdminCreateItem.java | 2 ++ 21 files changed, 42 insertions(+) diff --git a/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4afd6e9f3c..af24bba461 100644 --- a/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(false); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4afd6e9f3c..af24bba461 100644 --- a/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(false); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4afd6e9f3c..af24bba461 100644 --- a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(false); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4afd6e9f3c..af24bba461 100644 --- a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(false); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4afd6e9f3c..af24bba461 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(false); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4afd6e9f3c..af24bba461 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(false); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4081019df2..cbe146ec31 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 4afd6e9f3c..af24bba461 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(false); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 14325a32cf..f69c6928c2 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 14325a32cf..f69c6928c2 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); } diff --git a/L2J_Mobius_Essence_6.0_BattleChronicle/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Essence_6.0_BattleChronicle/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java index 14325a32cf..f69c6928c2 100644 --- a/L2J_Mobius_Essence_6.0_BattleChronicle/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java +++ b/L2J_Mobius_Essence_6.0_BattleChronicle/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java @@ -309,6 +309,8 @@ public class AdminCreateItem implements IAdminCommandHandler { target.sendMessage("Admin spawned " + num + " " + template.getName() + " in your inventory."); } + target.sendItemList(); + BuilderUtil.sendSysMessage(activeChar, "You have spawned " + num + " " + template.getName() + "(" + id + ") in " + target.getName() + " inventory."); target.sendPacket(new ExAdenaInvenCount(target)); }