From f7405a82e64d59adc77d5cc7b9d694f9b1192788 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 1 May 2012 06:30:57 -0700 Subject: [PATCH] Fixed NPE when user clicks the HUD button for Spout --- Changelog.txt | 1 + .../java/com/gmail/nossr50/datatypes/popups/PopupMMO.java | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index b41d1428f..daeac2ef2 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -16,6 +16,7 @@ Version 1.3.07 + Added a permission node for Farmer's Diet + Added config options for enabling/disabling specific double drops + Added automatic zip backup of flatfile database & config files + = Fixed NPE when user clicked the HUD button with Spout = Fixed bug where the permission node for Impact didn't work = Fixed some bypass nodes defaulting true for Ops = Fixed bug with trying to use Chimera Wing while standing on a half-block diff --git a/src/main/java/com/gmail/nossr50/datatypes/popups/PopupMMO.java b/src/main/java/com/gmail/nossr50/datatypes/popups/PopupMMO.java index 1b876f758..36c65f59b 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/popups/PopupMMO.java +++ b/src/main/java/com/gmail/nossr50/datatypes/popups/PopupMMO.java @@ -8,12 +8,10 @@ import com.gmail.nossr50.mcMMO; import com.gmail.nossr50.datatypes.PlayerProfile; import com.gmail.nossr50.datatypes.buttons.ButtonEscape; import com.gmail.nossr50.datatypes.buttons.ButtonHUDStyle; -import com.gmail.nossr50.datatypes.buttons.ButtonPartyToggle; public class PopupMMO extends GenericPopup { private ButtonHUDStyle HUDButton = null; - private ButtonPartyToggle PartyButton = null; private ButtonEscape EscapeButton = null; private GenericLabel mcMMO_label = new GenericLabel(); private GenericLabel tip_escape = new GenericLabel(); @@ -53,7 +51,7 @@ public class PopupMMO extends GenericPopup { public void updateButtons(PlayerProfile PP) { HUDButton.updateText(PP); - PartyButton.updateText(PP); + //PartyButton.updateText(PP); this.setDirty(true); } }