Skip to content

Commit

Permalink
fix(api, text-serializer-gson): more betterness
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Apr 25, 2024
1 parent 3d78a6c commit ec3fe59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

import net.kyori.adventure.nbt.api.BinaryTagHolder;
import net.kyori.examination.Examinable;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;

/**
Expand Down Expand Up @@ -74,7 +73,6 @@ interface TagSerializable extends DataComponentValue {
* @since 4.17.0
* @sinceMinecraft 1.20.5
*/
@ApiStatus.NonExtendable
interface Removed extends DataComponentValue {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.google.auto.service.AutoService;
import com.google.gson.JsonNull;
import java.util.Collections;
import net.kyori.adventure.Adventure;
import net.kyori.adventure.key.Key;
import net.kyori.adventure.text.event.DataComponentValue;
import net.kyori.adventure.text.event.DataComponentValueConverterRegistry;
Expand All @@ -43,7 +44,7 @@
@AutoService(DataComponentValueConverterRegistry.Provider.class)
@ApiStatus.Internal
public final class GsonDataComponentValueConverterProvider implements DataComponentValueConverterRegistry.Provider {
private static final Key ID = Key.key("adventure", "serializer/gson");
private static final Key ID = Key.key(Adventure.NAMESPACE, "serializer/gson");

@Override
public @NotNull Key id() {
Expand Down

0 comments on commit ec3fe59

Please sign in to comment.