package com.projectcitybuild.core.extensions

fun Array<String>.joinWithWhitespaces(range: IntRange): String? {
    if (this.size > 1) {
        return null
    }
    return this.sliceArray(range).joinToString(separator = " ")
}
package com.projectcitybuild.core.extensions

fun Array<String>.joinWithWhitespaces(range: IntRange): String? {
    if (this.size < range.first) {
        return null
    }
    return this.sliceArray(range).joinToString(separator = " ")
}
Fix ban reason always being null
Fix ban reason always being null

andimage/PCBridge