From 866408aece4d663061bfcc00ba2b6547cc4042ec Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 12 Mar 2019 19:17:50 -0700 Subject: [PATCH] rename --- src/main/java/baritone/utils/ExampleBaritoneControl.java | 2 +- .../java/baritone/utils/{GuiClickMeme.java => GuiClick.java} | 2 +- src/main/java/baritone/utils/PathRenderer.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/main/java/baritone/utils/{GuiClickMeme.java => GuiClick.java} (99%) diff --git a/src/main/java/baritone/utils/ExampleBaritoneControl.java b/src/main/java/baritone/utils/ExampleBaritoneControl.java index 8777a3a9..fcd07101 100644 --- a/src/main/java/baritone/utils/ExampleBaritoneControl.java +++ b/src/main/java/baritone/utils/ExampleBaritoneControl.java @@ -483,7 +483,7 @@ public class ExampleBaritoneControl extends Behavior implements Helper { new Thread(() -> { try { Thread.sleep(100); - mc.addScheduledTask(() -> mc.displayGuiScreen(new GuiClickMeme())); + mc.addScheduledTask(() -> mc.displayGuiScreen(new GuiClick())); } catch (Exception ignored) {} }).start(); logDirect("aight dude"); diff --git a/src/main/java/baritone/utils/GuiClickMeme.java b/src/main/java/baritone/utils/GuiClick.java similarity index 99% rename from src/main/java/baritone/utils/GuiClickMeme.java rename to src/main/java/baritone/utils/GuiClick.java index 50a2d245..cd10ee17 100644 --- a/src/main/java/baritone/utils/GuiClickMeme.java +++ b/src/main/java/baritone/utils/GuiClick.java @@ -40,7 +40,7 @@ import java.util.Collections; import static org.lwjgl.opengl.GL11.*; -public class GuiClickMeme extends GuiScreen { +public class GuiClick extends GuiScreen { // My name is Brady and I grant leijurv permission to use this pasted code private final FloatBuffer MODELVIEW = BufferUtils.createFloatBuffer(16); diff --git a/src/main/java/baritone/utils/PathRenderer.java b/src/main/java/baritone/utils/PathRenderer.java index a9cb4ce2..7ea20122 100644 --- a/src/main/java/baritone/utils/PathRenderer.java +++ b/src/main/java/baritone/utils/PathRenderer.java @@ -59,8 +59,8 @@ public final class PathRenderer implements Helper { public static void render(RenderEvent event, PathingBehavior behavior) { float partialTicks = event.getPartialTicks(); Goal goal = behavior.getGoal(); - if (mc.currentScreen instanceof GuiClickMeme) { - ((GuiClickMeme) mc.currentScreen).onRender(partialTicks); + if (mc.currentScreen instanceof GuiClick) { + ((GuiClick) mc.currentScreen).onRender(partialTicks); } int thisPlayerDimension = behavior.baritone.getPlayerContext().world().provider.getDimensionType().getId();