Prevent rendering with invalid resolution

This commit is contained in:
johni0702
2015-07-15 15:42:43 +02:00
parent 13314e27da
commit 7ee5f86b4e
3 changed files with 47 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ import java.awt.*;
public class GuiAdvancedButton extends GuiButton implements GuiElement {
private final Runnable action;
private final String hoverText;
public String hoverText;
public GuiAdvancedButton(int id, int x, int y, String buttonText) {
this(id, x, y, buttonText, null, null);