Skip to content

Commit

Permalink
Added / check
Browse files Browse the repository at this point in the history
  • Loading branch information
ksndq authored Feb 28, 2025
1 parent 11d7988 commit 032ac34
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ object ShortenWarpCommand {
if (!SkyHanniMod.feature.misc.commands.shortenWarp) return

val message = event.message.lowercase()
if (!message.startsWith("/")) return

val command = message.removePrefix("/")
if (command == "barn" && IslandType.GARDEN.isInIsland()) return

Expand Down

0 comments on commit 032ac34

Please sign in to comment.