Gigantic warning cleanup

This commit is contained in:
CrushedPixel
2015-08-31 17:46:26 +02:00
parent dd1aab16ef
commit 03aead65b6
13 changed files with 31 additions and 20 deletions

View File

@@ -75,7 +75,7 @@ public class ComposedElement implements GuiElement {
//if GuiOutsideClickableElement, forward mouse clicks outside of that element
if(!clicked || (part instanceof GuiOutsideClickableElement && !part.isHovering(mouseX, mouseY))) {
boolean cl = part.mouseClick(mc, mouseX, mouseY, button);
if(cl) clicked = cl;
if(cl) clicked = true;
}
}
return clicked;

View File

@@ -74,11 +74,12 @@ public class GuiTextArea extends Gui implements GuiElement, GuiOutsideClickableE
public int textColorEnabled = 0xE0E0E0;
public int textColorDisabled = 0x707070;
/*
public GuiTextArea(FontRenderer fontRenderer, int positionX, int positionY, int width, int height,
int maxTextWidth, int maxTextHeight) {
this(0, fontRenderer, positionX, positionY, width, height, maxTextWidth, maxTextHeight, -1);
}
*/
public GuiTextArea(FontRenderer fontRenderer, int positionX, int positionY, int width, int height,
int maxTextWidth, int maxTextHeight, int maxCharCount) {