mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-19 14:59:27 +00:00
Revert api breaking change
This commit is contained in:
@@ -98,7 +98,7 @@ public abstract class PackCodec {
|
|||||||
* @since 2.1.1
|
* @since 2.1.1
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public static PathPackCodec path(@NonNull Path path) {
|
public static PackCodec path(@NonNull Path path) {
|
||||||
return GeyserApi.api().provider(PathPackCodec.class, path);
|
return GeyserApi.api().provider(PathPackCodec.class, path);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -110,7 +110,7 @@ public abstract class PackCodec {
|
|||||||
* @since 2.6.2
|
* @since 2.6.2
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public static UrlPackCodec url(@NonNull String url) {
|
public static PackCodec url(@NonNull String url) {
|
||||||
return GeyserApi.api().provider(UrlPackCodec.class, url);
|
return GeyserApi.api().provider(UrlPackCodec.class, url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user