File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/main/kotlin/de/derniklaas/buildbugs/utils Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ yarn_mappings=1.21+build.9
7
7
loader_version =0.15.11
8
8
fabric_kotlin_version =1.11.0+kotlin.2.0.0
9
9
fabric_api_version =0.100.7+1.21
10
- mod_version =1.12.0
10
+ mod_version =1.12.1
11
11
noxesium_version =2.1.0
12
12
adventure_version =5.14.0
13
13
cloud_version =2.0.0-beta.7
Original file line number Diff line number Diff line change @@ -23,7 +23,11 @@ data class ServerState(
23
23
* If it's not known, it will return the [type] and [subType]
24
24
*/
25
25
fun getFancyName (type : String = this.serverType): String = when (type) {
26
- Constants .LOBBY -> " Lobby"
26
+ Constants .LOBBY -> {
27
+ if (subType == " main" ) " Main Lobby"
28
+ else if (type == subType) " Lobby Lobby?"
29
+ else " ${getFancyName(subType)} Lobby"
30
+ }
27
31
28
32
// Game modes
29
33
Constants .PARKOUR_WARRIOR -> " Parkour Warrior"
@@ -34,7 +38,7 @@ data class ServerState(
34
38
Constants .DYNABALL -> " Dynaball"
35
39
Constants .ROCKET_SPLEEF_RUSH -> " Rocket Spleef"
36
40
37
- // Event gametypes
41
+ // Event game types
38
42
Constants .HUB -> " Hub"
39
43
Constants .ACE_RACE -> " Ace Race"
40
44
Constants .PARKOUR_TAG -> " Parkour Tag"
You can’t perform that action at this time.
0 commit comments