Skip to content

Commit

Permalink
refactor(gui): TypedKey is now Key™
Browse files Browse the repository at this point in the history
  • Loading branch information
Siroshun09 committed Nov 24, 2024
1 parent f81617c commit 6bf024c
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package net.okocraft.box.feature.gui.api.util;

import io.papermc.paper.registry.TypedKey;
import io.papermc.paper.registry.keys.SoundEventKeys;
import net.kyori.adventure.key.Key;
import net.kyori.adventure.sound.Sound;
Expand Down Expand Up @@ -39,12 +38,6 @@ public static class Builder {
return this;
}

@Contract("_ -> this")
public @NotNull Builder sound(@NotNull TypedKey<org.bukkit.Sound> key) {
this.sound = key.key();
return this;
}

@Contract("_ -> this")
public @NotNull Builder source(@NotNull Sound.Source source) {
this.source = source;
Expand Down

0 comments on commit 6bf024c

Please sign in to comment.