Skip to content

Commit

Permalink
script tag base can't be static oops
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Nov 7, 2021
1 parent 5b9dd62 commit 676b728
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -15,7 +15,7 @@ public ScriptTagBase() {
// If no input is given, will return the current script that the tag is within.
// Refer to <@link ObjectType ScriptTag>.
// -->
TagManager.registerStaticTagBaseHandler(ScriptTag.class, "script", (attribute) -> {
TagManager.registerTagHandler(ScriptTag.class, "script", (attribute) -> {
ScriptTag script = null;
if (attribute.hasParam()) {
script = attribute.paramAsType(ScriptTag.class);
Expand Down

0 comments on commit 676b728

Please sign in to comment.