Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan committed Dec 1, 2023
1 parent 4ba4ad7 commit 001ec06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ enum class ModuleCategory(val displayName: String) {
WORLD("World"),
MISC("Misc"),
EXPLOIT("Exploit"),
SCRIPT("Script");

}
2 changes: 1 addition & 1 deletion src/main/java/net/ccbluex/liquidbounce/script/Script.kt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class Script(val scriptFile: File) : MinecraftInstance() {
val categoryString = moduleObject.getMember("category") as String
val category = ModuleCategory.values().find {
it.displayName.equals(categoryString, true)
} ?: ModuleCategory.FUN
} ?: ModuleCategory.SCRIPT


val module = ScriptModule(name, category, description, moduleObject)
Expand Down

0 comments on commit 001ec06

Please sign in to comment.