Skip to content

Commit

Permalink
fix something that wasnt in there for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
98ping committed Aug 14, 2022
1 parent 8f15fbb commit ec0ef81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .idea/codestream.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ class DurationMenu(val player: Player, val rank: Rank, val target: GameProfile)
.thatExcludesNonPlayersWithMessage("Go away evil console!")
val con: Conversation = factory.buildConversation(player)
player.beginConversation(con)
} else if (time == "Permanent") {
ReasonMenu(player, rank, target, Long.MAX_VALUE).updateMenu()
} else {
ReasonMenu(player, rank, target, TimeUtil.parseTime(time) * 1000L).updateMenu()
}
Expand Down

0 comments on commit ec0ef81

Please sign in to comment.