Added setEnabled() method to GuiElement interface and implemented it everywhere
Made GuiFileChooser a child of GuiAdvancedButton instead of GuiButton
This commit is contained in:
@@ -78,6 +78,11 @@ public class GuiAdvancedButton extends GuiButton implements GuiElement {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setEnabled(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public void performAction() {
|
||||
if (action != null) {
|
||||
action.run();
|
||||
|
||||
Reference in New Issue
Block a user