Fix more compile issues
This commit is contained in:
@@ -1828,8 +1828,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
+import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
+
|
||||
+import static net.kyori.adventure.nbt.api.BinaryTagHolder.binaryTagHolder;
|
||||
+import static net.kyori.adventure.text.serializer.gson.GsonDataComponentValue.gsonDatacomponentValue;
|
||||
+import static net.kyori.adventure.text.serializer.gson.GsonDataComponentValue.gsonDataComponentValue;
|
||||
+
|
||||
+@DefaultQualifier(NonNull.class)
|
||||
+public class DataComponentValueConverterProviderImpl implements DataComponentValueConverterRegistry.Provider {
|
||||
@@ -1848,7 +1847,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ DataComponentValueConverterRegistry.Conversion.convert(
|
||||
+ PaperAdventure.DataComponentValueImpl.class,
|
||||
+ GsonDataComponentValue.class,
|
||||
+ (key, dataComponentValue) -> gsonDatacomponentValue((JsonElement) dataComponentValue.codec().encodeStart(JsonOps.INSTANCE, dataComponentValue.value()).getOrThrow())
|
||||
+ (key, dataComponentValue) -> gsonDataComponentValue((JsonElement) dataComponentValue.codec().encodeStart(JsonOps.INSTANCE, dataComponentValue.value()).getOrThrow())
|
||||
+ ),
|
||||
+ DataComponentValueConverterRegistry.Conversion.convert(
|
||||
+ GsonDataComponentValue.class,
|
||||
|
||||
Reference in New Issue
Block a user