diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/config/AdminCommands.xml b/L2J_Mobius_CT_2.6_HighFive/dist/game/config/AdminCommands.xml index c6be86ef6d..f8ec28a692 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/config/AdminCommands.xml +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/config/AdminCommands.xml @@ -326,8 +326,6 @@ - - diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminInstance.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminInstance.java index d6c918c1f7..ec605715c5 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminInstance.java +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/handlers/admincommandhandlers/AdminInstance.java @@ -141,29 +141,6 @@ public class AdminInstance implements IAdminCommandHandler BuilderUtil.sendSysMessage(activeChar, "Use //destroyinstance id"); } } - - // set ghost mode on aka not appearing on any knownlist - // you will be invis to all players but you also dont get update packets ;) - // you will see snapshots (knownlist echoes?) if you port - // so kinda useless atm - // TODO: enable broadcast packets for ghosts - else if (command.startsWith("admin_ghoston")) - { - activeChar.getAppearance().setGhostMode(true); - BuilderUtil.sendSysMessage(activeChar, "Ghost mode enabled"); - activeChar.broadcastUserInfo(); - activeChar.decayMe(); - activeChar.spawnMe(); - } - // ghost mode off - else if (command.startsWith("admin_ghostoff")) - { - activeChar.getAppearance().setGhostMode(false); - BuilderUtil.sendSysMessage(activeChar, "Ghost mode disabled"); - activeChar.broadcastUserInfo(); - activeChar.decayMe(); - activeChar.spawnMe(); - } return true; } diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/appearance/PcAppearance.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/appearance/PcAppearance.java index 5a7a598dfe..ddf29f4da7 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/appearance/PcAppearance.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/appearance/PcAppearance.java @@ -32,9 +32,6 @@ public class PcAppearance private boolean _sex; // Female true(1) - /** true if the player is invisible */ - private boolean _ghostmode = false; - /** The current visible name of this player, not necessarily the real one */ private String _visibleName; @@ -142,16 +139,6 @@ public class PcAppearance _sex = isfemale; } - public void setGhostMode(boolean b) - { - _ghostmode = b; - } - - public boolean isGhost() - { - return _ghostmode; - } - public int getNameColor() { return _nameColor;