Skip to content

Commit

Permalink
コミットするのはいいけど全部ためしてからにしてくれ
Browse files Browse the repository at this point in the history
rage
  • Loading branch information
Aspw-w committed Mar 13, 2024
1 parent d8d5775 commit b5cdf61
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/aspw/client/Launch.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object Launch {
// Client information
const val CLIENT_BEST = "NightX"
const val CLIENT_FOLDER = "NightX-Client"
const val CLIENT_VERSION = "B96"
const val CLIENT_VERSION = "B97"
const val CLIENT_PROTOCOL_RANGE = "1.8 to 24w09a"
const val CLIENT_CREATOR = "As_pw"
const val CLIENT_WEBSITE = "https://aspw-w.github.io/AspieAPI/NightX"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ClickGui() {

int xPos = 253;

for (final ModuleCategory category : ModuleCategory.getEntries()) {
for (final ModuleCategory category : ModuleCategory.values()) {
panels.add(new Panel(category.getDisplayName(), xPos, 30, width, height, true) {

@Override
Expand Down Expand Up @@ -93,8 +93,8 @@ public void drawScreen(int mouseX, int mouseY, final float partialTicks) {

final double scale = Objects.requireNonNull(Launch.moduleManager.getModule(Gui.class)).scaleValue.get() - 0.1765;

mouseX /= (int) scale;
mouseY /= (int) scale;
mouseX /= scale;
mouseY /= scale;

this.mouseX = mouseX;
this.mouseY = mouseY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SmoothClickGui : GuiScreen() {

init {
var xPos = 84f
for (cat in ModuleCategory.entries) {
for (cat in ModuleCategory.values()) {
panels.add(CategoryPanel(xPos, 20f, cat, Color(200, 200, 200, 80)))
xPos += SmoothConstants.PANEL_WIDTH.toInt() + 10
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class NewUi extends GuiScreen {
private SearchElement searchElement;

private NewUi() {
for (final ModuleCategory c : ModuleCategory.getEntries())
for (final ModuleCategory c : ModuleCategory.values())
categoryElements.add(new CategoryElement(c));
categoryElements.get(0).setFocused(true);
}
Expand Down

0 comments on commit b5cdf61

Please sign in to comment.