Skip to content

Commit 6f888d7

Browse files
committed
remove duplicate
1 parent dfc7c32 commit 6f888d7

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

api/src/main/java/org/geysermc/geyser/api/event/bedrock/SessionLoadResourcePacksEvent.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public SessionLoadResourcePacksEvent(@NonNull GeyserConnection connection) {
8080
*
8181
* @param uuid the resource pack uuid to register the options for
8282
* @param options the options to register for the pack
83-
* @throws IllegalArgumentException if the pack is not registered
8483
* @throws ResourcePackException if an issue occurred during resource pack option registration
8584
*/
8685
public abstract void registerOptions(@NonNull UUID uuid, @NonNull ResourcePackOption<?>... options);

api/src/main/java/org/geysermc/geyser/api/event/lifecycle/GeyserDefineResourcePacksEvent.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public abstract class GeyserDefineResourcePacksEvent implements Event {
6363
*
6464
* @param uuid the resource pack uuid to register the options for
6565
* @param options the options to register for the pack
66-
* @throws IllegalArgumentException if the pack is not registered
6766
* @throws ResourcePackException if an issue occurred during resource pack option registration
6867
*/
6968
public abstract void registerOptions(@NonNull UUID uuid, @NonNull ResourcePackOption<?>... options);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public interface ResourcePack {
6363
String contentKey();
6464

6565
/**
66-
* @return the resource pack uuid. Shortcut for getting the UUID from the header.
66+
* @return the resource pack uuid. Shortcut for getting the UUID from the header
6767
*/
6868
@NonNull
6969
default UUID uuid() {
@@ -86,7 +86,7 @@ static ResourcePack create(@NonNull PackCodec codec) {
8686
* It can be used to set a content key.
8787
*
8888
* @param codec the {@link PackCodec} to base the builder on
89-
* @return a {@link Builder} to build a resource pack.
89+
* @return a {@link Builder} to build a resource pack
9090
*/
9191
static Builder builder(@NonNull PackCodec codec) {
9292
return GeyserApi.api().provider(Builder.class, codec);

0 commit comments

Comments
 (0)