Browse Source

Fixed bug where players could remain in party chat after leaving or
being kicked from a party.

GJ 12 years ago
parent
commit
5548e26dd9
2 changed files with 3 additions and 0 deletions
  1. 1 0
      Changelog.txt
  2. 2 0
      src/main/java/com/gmail/nossr50/party/PartyManager.java

+ 1 - 0
Changelog.txt

@@ -25,6 +25,7 @@ Version 1.4.06-dev
  = Fixed NPE when trying to tab-complete /mctop
  = Fixed Fishing treasures always having the same enchants
  = Fixed Smelting returning ink sacs instead of Lapis when double-dropping
+ = Fixed bug where players could remain in party chat after leaving or being kicked from a party.
  ! Changed Berserk to add items to inventory rather than denying pickup
  ! Changed Call of the Wild, newly summoned pet's will have a custom name. (added permission node to disable this)
  ! Changed Chimaera Wing's recipe result to use the ingredient Material

+ 2 - 0
src/main/java/com/gmail/nossr50/party/PartyManager.java

@@ -212,6 +212,7 @@ public final class PartyManager {
 
         if (mcMMOPlayer != null) {
             mcMMOPlayer.removeParty();
+            mcMMOPlayer.setPartyChat(false);
             mcMMOPlayer.setItemShareModifier(10);
         }
     }
@@ -229,6 +230,7 @@ public final class PartyManager {
 
             if (mcMMOPlayer != null) {
                 mcMMOPlayer.removeParty();
+                mcMMOPlayer.setPartyChat(false);
                 mcMMOPlayer.setItemShareModifier(10);
             }
         }