Skip to content

Commit 85fa5d7

Browse files
committed
Make SubLevelLoadingTicketType#create public
1 parent 0cf5c7c commit 85fa5d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/src/main/java/dev/ryanhcode/sable/api/sublevel/ticket/SubLevelLoadingTicketType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public record SubLevelLoadingTicketType<T>(ResourceLocation name, Codec<T> codec
1515

1616
public static final SubLevelLoadingTicketType<Unit> COMMAND_FORCED = create(Sable.sablePath("command_forced"), Unit.CODEC);
1717

18-
private static <T> SubLevelLoadingTicketType<T> create(final ResourceLocation name, final Codec<T> codec) {
18+
public static <T> SubLevelLoadingTicketType<T> create(final ResourceLocation name, final Codec<T> codec) {
1919
final SubLevelLoadingTicketType<T> type = new SubLevelLoadingTicketType<>(name, codec);
2020
REGISTRY.put(name, type);
2121
return type;

0 commit comments

Comments
 (0)