Update kits
This commit is contained in:
@@ -8,7 +8,7 @@ object TimeUtils {
|
||||
|
||||
fun scoreboardTimeFromState(): String
|
||||
{
|
||||
val currentTime = plugin.gameManager.getCurrentState()?.remainingSeconds
|
||||
val currentTime = plugin.gameManager.getCurrentState()?.getRemainingSeconds()
|
||||
?: throw IllegalArgumentException("Remaining seconds for state is null!")
|
||||
return scoreboardTime( currentTime )
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user