Fix Crash when adding a dot or a E to the Laser Amplifier Delay.
@@ -137,9 +137,11 @@ public class GuiLaserAmplifier extends GuiMekanismTile<TileEntityLaserAmplifier>
if (Character.isDigit(c) || c == '.' || c == 'E' || isTextboxKey(c, i)) {
minField.textboxKeyTyped(c, i);
maxField.textboxKeyTyped(c, i);
+ if(c != '.' && c != 'E') {
timerField.textboxKeyTyped(c, i);
}
}
+ }
private void setMinThreshold() {
if (!minField.getText().isEmpty()) {
