Skip to content

Commit

Permalink
Allow custom render type names when using String overload
Browse files Browse the repository at this point in the history
  • Loading branch information
ApexModder committed Nov 24, 2024
1 parent 4a654d5 commit 5edca08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

public interface IModelTemplateExtension {
default ModelTemplate withRenderType(String renderType) {
return withRenderType(ResourceLocation.withDefaultNamespace(renderType));
return withRenderType(ResourceLocation.parse(renderType));
}

default ModelTemplate withRenderType(ResourceLocation renderType) {
Expand Down

0 comments on commit 5edca08

Please sign in to comment.