mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fixed NPE when user clicks the HUD button for Spout
This commit is contained in:
parent
04f3e44c3a
commit
f7405a82e6
@ -16,6 +16,7 @@ Version 1.3.07
|
|||||||
+ Added a permission node for Farmer's Diet
|
+ Added a permission node for Farmer's Diet
|
||||||
+ Added config options for enabling/disabling specific double drops
|
+ Added config options for enabling/disabling specific double drops
|
||||||
+ Added automatic zip backup of flatfile database & config files
|
+ 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 bug where the permission node for Impact didn't work
|
||||||
= Fixed some bypass nodes defaulting true for Ops
|
= Fixed some bypass nodes defaulting true for Ops
|
||||||
= Fixed bug with trying to use Chimera Wing while standing on a half-block
|
= Fixed bug with trying to use Chimera Wing while standing on a half-block
|
||||||
|
@ -8,12 +8,10 @@ import com.gmail.nossr50.mcMMO;
|
|||||||
import com.gmail.nossr50.datatypes.PlayerProfile;
|
import com.gmail.nossr50.datatypes.PlayerProfile;
|
||||||
import com.gmail.nossr50.datatypes.buttons.ButtonEscape;
|
import com.gmail.nossr50.datatypes.buttons.ButtonEscape;
|
||||||
import com.gmail.nossr50.datatypes.buttons.ButtonHUDStyle;
|
import com.gmail.nossr50.datatypes.buttons.ButtonHUDStyle;
|
||||||
import com.gmail.nossr50.datatypes.buttons.ButtonPartyToggle;
|
|
||||||
|
|
||||||
public class PopupMMO extends GenericPopup {
|
public class PopupMMO extends GenericPopup {
|
||||||
|
|
||||||
private ButtonHUDStyle HUDButton = null;
|
private ButtonHUDStyle HUDButton = null;
|
||||||
private ButtonPartyToggle PartyButton = null;
|
|
||||||
private ButtonEscape EscapeButton = null;
|
private ButtonEscape EscapeButton = null;
|
||||||
private GenericLabel mcMMO_label = new GenericLabel();
|
private GenericLabel mcMMO_label = new GenericLabel();
|
||||||
private GenericLabel tip_escape = new GenericLabel();
|
private GenericLabel tip_escape = new GenericLabel();
|
||||||
@ -53,7 +51,7 @@ public class PopupMMO extends GenericPopup {
|
|||||||
|
|
||||||
public void updateButtons(PlayerProfile PP) {
|
public void updateButtons(PlayerProfile PP) {
|
||||||
HUDButton.updateText(PP);
|
HUDButton.updateText(PP);
|
||||||
PartyButton.updateText(PP);
|
//PartyButton.updateText(PP);
|
||||||
this.setDirty(true);
|
this.setDirty(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user