Improve code style

This commit is contained in:
Jakob K
2021-05-12 14:17:44 +02:00
parent 3e9b243d3d
commit cf48510756
69 changed files with 144 additions and 609 deletions

View File

@@ -5,7 +5,6 @@ import org.bukkit.entity.Player
import java.io.InputStreamReader
import java.nio.charset.StandardCharsets
import java.util.*
import kotlin.collections.HashMap
/**
* Handles localization of strings using java [ResourceBundle]s.
@@ -23,7 +22,6 @@ object Localization {
* is advisable in many cases.
*/
var localeProvider: (Player) -> Locale = { Locale.US }
private val bundles: MutableMap<Locale, ResourceBundle> = HashMap()
/**