diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2025-03-21 23:34:01 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2025-03-21 23:34:01 -0300 |
commit | c9314e10ae33d4c1da35e89cad6b98a6260e0ab7 (patch) | |
tree | 24b5be44ea555ee3381a65b28a42b6886c7990bd /src/client | |
parent | 8f4da9a630ee4cb549c75a85b7e6ac842ef874f1 (diff) |
bc25: limit player-placed frequency range
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/kotlin/space/autistic/radio/client/gui/StorageCardEditScreen.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/kotlin/space/autistic/radio/client/gui/StorageCardEditScreen.kt b/src/client/kotlin/space/autistic/radio/client/gui/StorageCardEditScreen.kt index a1dd5d5..6e5da3a 100644 --- a/src/client/kotlin/space/autistic/radio/client/gui/StorageCardEditScreen.kt +++ b/src/client/kotlin/space/autistic/radio/client/gui/StorageCardEditScreen.kt @@ -108,7 +108,7 @@ class StorageCardEditScreen( const val FREQ_WIDTH = 40 const val FREQ_HEIGHT = 20 - val FREQ_REGEX = Regex("^76\\.[8-9]|7[7-9]\\.[0-9]|[8-9][0-9]\\.[0-9]|10[0-7]\\.[0-9]|108\\.0$") + val FREQ_REGEX = Regex("^76\\.[8-9]|7[7-9]\\.[0-9]|[8-9][0-9]\\.[0-9]|100\\.0$") val FREQ_REGEX_CHARACTERS = Regex("^[0-9]*\\.?[0-9]?$") } |