From 4092f7397bc5794d0b38e420bb09949255e76c03 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Fri, 7 Jan 2011 15:26:38 -0800 Subject: [PATCH] This is why I hate copy pasting --- vCom.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vCom.java b/vCom.java index add3f4c6e..705041b4d 100644 --- a/vCom.java +++ b/vCom.java @@ -1056,14 +1056,14 @@ private static HashMap hidden = new HashMap(); //Make sure the user has access to the command if(!player.canUseCommand("/p")) return EXIT_FAIL; - //If the player is already toggled for admin chat, remove them + //If the player is already toggled for party chat, remove them if (vConfig.getInstance().isPartyToggled(null)) { player.sendMessage(Colors.Red + "Party Chat Toggle = off"); - vConfig.getInstance().removeAdminToggled(player.getName()); + vConfig.getInstance().removePartyToggled(player.getName()); //Otherwise include them } else { player.sendMessage(Colors.Blue + "Party Chat Toggled on"); - vConfig.getInstance().addAdminToggled(player.getName()); + vConfig.getInstance().addPartyToggled(player.getName()); } return EXIT_SUCCESS; }