You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
closesMeteorDevelopment#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
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).
The text was updated successfully, but these errors were encountered: