Color changed to hex

This commit is contained in:
marcin212 committed 2017-07-06 15:00:40 +02:00
1 parent b6d5901f07
commit d0215ce0aa
2 files changed
+2 -2

No files matched your search

@@ -39,7 +39,7 @@ public class Widget implements IWidget {
this.size = Point.ZERO;
this.offset = Point.ZERO;
this.cropped = false;
this.colour = 16777215;
this.colour = 0xffffff;
this.globalEventHandlers = new ArrayList<>();
this.enabled = true;
this.visible = true;
@@ -222,7 +222,7 @@ public abstract class Window extends TopLevelWidget implements INetwork.ReceiveG
@Override
@SideOnly(Side.CLIENT)
public void onRenderBackground(int guiWidth, int guiHeight) {
RenderUtil.setColour(16777215);
RenderUtil.setColour(0xffffff);
if (this.getBackground1() != null) {
CraftGUI.render.texture(this.getBackground1(), Point.ZERO);
}