File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/com/cleanroommc/groovyscript/gameobjects Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33import com .cleanroommc .groovyscript .api .IGameObjectParser ;
44import com .cleanroommc .groovyscript .api .IIngredient ;
55import com .cleanroommc .groovyscript .api .Result ;
6+ import com .cleanroommc .groovyscript .core .mixin .CreativeTabsAccessor ;
67import com .cleanroommc .groovyscript .core .mixin .OreDictionaryAccessor ;
78import com .cleanroommc .groovyscript .helper .ingredient .OreDictIngredient ;
89import com .cleanroommc .groovyscript .helper .ingredient .OreDictWildcardIngredient ;
@@ -107,7 +108,7 @@ public static void init() {
107108 .register ();
108109 GameObjectHandler .builder ("creativeTab" , CreativeTabs .class )
109110 .parser (GameObjectHandlers ::parseCreativeTab )
110- .completerOfNamed (() -> Arrays .asList (CreativeTabs .CREATIVE_TAB_ARRAY ), CreativeTabs :: getTabLabel )
111+ .completerOfNamed (() -> Arrays .asList (CreativeTabs .CREATIVE_TAB_ARRAY ), v -> (( CreativeTabsAccessor ) v ). getTabLabel2 () )
111112 .register ();
112113 GameObjectHandler .builder ("textformat" , TextFormatting .class )
113114 .parser (GameObjectHandlers ::parseTextFormatting )
You can’t perform that action at this time.
0 commit comments