Added var for easier changing idle time.

This commit is contained in:
tosta3000
2015-11-05 17:13:57 +01:00
parent ea265e50a8
commit c82f3a1c46
@@ -25,6 +25,7 @@ public class GuiConfig extends GuiScreen {
private int guiShowBaseHeight;
private GuiType guiShowType;
private int waitingTimeMS = 2000;
private int guiShowState;
private long lastTime = 0;
private long currentTime;
@@ -82,7 +83,7 @@ public class GuiConfig extends GuiScreen {
drawCraftingTable();
// Insert Gui by selected Type
currentTime = Util.client.getSystemTime();
if(currentTime - lastTime > 2000){
if(currentTime - lastTime > waitingTimeMS){
nextShowGui();
lastTime = Util.client.getSystemTime();
currentTime = Util.client.getSystemTime();