Skip to content

Commit ae8062c

Browse files
committed
Revert api breaking change
1 parent 61fea61 commit ae8062c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/main/java/org/geysermc/geyser/api/pack/PackCodec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public SeekableByteChannel serialize(@NonNull ResourcePack resourcePack) throws
9898
* @since 2.1.1
9999
*/
100100
@NonNull
101-
public static PathPackCodec path(@NonNull Path path) {
101+
public static PackCodec path(@NonNull Path path) {
102102
return GeyserApi.api().provider(PathPackCodec.class, path);
103103
}
104104

@@ -110,7 +110,7 @@ public static PathPackCodec path(@NonNull Path path) {
110110
* @since 2.6.2
111111
*/
112112
@NonNull
113-
public static UrlPackCodec url(@NonNull String url) {
113+
public static PackCodec url(@NonNull String url) {
114114
return GeyserApi.api().provider(UrlPackCodec.class, url);
115115
}
116116
}

0 commit comments

Comments
 (0)