Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waypoints crash if you paste a non number into x y or z field #4807

Closed
2 tasks done
SergioK29 opened this issue Aug 4, 2024 · 0 comments
Closed
2 tasks done

Waypoints crash if you paste a non number into x y or z field #4807

SergioK29 opened this issue Aug 4, 2024 · 0 comments
Labels
bug Something isn't working.

Comments

@SergioK29
Copy link

Describe the bug

Waypoints crash if you paste a non number into x y or z field

Steps to reproduce

paste -5102.5 118 3209 into x

java.lang.NumberFormatException: For input string: "-510251183209"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:662)
at java.base/java.lang.Integer.parseInt(Integer.java:778)
at meteordevelopment.meteorclient.gui.widgets.input.WBlockPosEdit.lambda$addTextBox$2(WBlockPosEdit.java:131)
at meteordevelopment.meteorclient.gui.widgets.input.WTextBox.setFocused(WTextBox.java:676)
at meteordevelopment.meteorclient.gui.widgets.input.WTextBox.onMouseClicked(WTextBox.java:149)
at meteordevelopment.meteorclient.gui.widgets.WWidget.mouseClicked(WWidget.java:91)
at meteordevelopment.meteorclient.gui.widgets.containers.WContainer.mouseClicked(WContainer.java:130)
at meteordevelopment.meteorclient.gui.widgets.containers.WContainer.mouseClicked(WContainer.java:130)
at meteordevelopment.meteorclient.gui.widgets.containers.WContainer.mouseClicked(WContainer.java:130)
at meteordevelopment.meteorclient.gui.widgets.containers.WContainer.mouseClicked(WContainer.java:130)
at meteordevelopment.meteorclient.gui.widgets.containers.WContainer.mouseClicked(WContainer.java:130)
at meteordevelopment.meteorclient.gui.widgets.containers.WContainer.mouseClicked(WContainer.java:130)
at meteordevelopment.meteorclient.gui.widgets.containers.WContainer.mouseClicked(WContainer.java:130)
at meteordevelopment.meteorclient.gui.widgets.containers.WContainer.mouseClicked(WContainer.java:130)
at meteordevelopment.meteorclient.gui.WidgetScreen.method_25402(WidgetScreen.java:125)
at net.minecraft.class_312.method_1611(class_312.java:107)
at net.minecraft.class_437.method_25412(class_437.java:431)
at net.minecraft.class_312.method_1601(class_312.java:107)
at net.minecraft.class_312.method_22686(class_312.java:196)
at net.minecraft.class_1255.execute(class_1255.java:108)
at net.minecraft.class_312.method_22684(class_312.java:196)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)

Meteor Version

aefbefb

Minecraft Version

1.21

Operating System

Windows

Before submitting a bug report

  • This bug wasn't already reported (I have searched bug reports on GitHub).

  • This is a valid bug (I am able to reproduce this on the latest dev build).

@SergioK29 SergioK29 added the bug Something isn't working. label Aug 4, 2024
MrGaffiot added a commit to MrGaffiot/meteor-client that referenced this issue Aug 4, 2024
closes MeteorDevelopment#4807

## Type of change

- [ ] Bug fix
- [ ] New feature
- [  x ] Car

## Description

Removed trash code, added eeper.

## Related issues

No issues

# How Has This Been Tested?

Walper aprooved

# Checklist:

- [ ] My code follows the style guidelines of this project.
- [ ] I have added comments to my code in more complex areas.
- [ ] I have tested the code in both development and production environments.
- [ x ] eeping
@MrGaffiot MrGaffiot mentioned this issue Aug 4, 2024
5 tasks
Nippaku-Zanmu pushed a commit to Nippaku-Zanmu/meteor-client that referenced this issue Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant