Skip to content

Commit

Permalink
Fix another field access
Browse files Browse the repository at this point in the history
  • Loading branch information
takejohn committed Jan 13, 2024
1 parent 13ff7f2 commit 60b81db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class GenerateSyntax {

private fun getEntriesFromSkriptElementInfo(info: SyntaxElementInfo<*>, sender: CommandSender?) : Array<DocumentationEntryNode>? {
// See if the class has a SectionValidator and try to pull that out to use as the source of truth.
val elementClass = info.elementClass ?: return null
val elementClass = info.getElementClass() ?: return null
val fields: Array<Field>

try {
Expand Down

0 comments on commit 60b81db

Please sign in to comment.