forked from SteamWar/SteamWar
Fix isEvent function to correctly check eventFightId
This commit is contained in:
@@ -87,7 +87,7 @@ data class TNTLeagueConfig(
|
||||
}.mapKeys { Material.getMaterial(it.key) ?: Material.BARRIER }
|
||||
}
|
||||
|
||||
fun isEvent() = config.eventFightId != null
|
||||
fun isEvent() = (config.eventFightId ?: 0) > 0
|
||||
}
|
||||
|
||||
data class Price(
|
||||
|
||||
Reference in New Issue
Block a user