From 1dde24bb68c92702452f1818f601ed9c9f248e4f Mon Sep 17 00:00:00 2001 From: EnZaXD Date: Wed, 21 Aug 2024 16:56:09 +0200 Subject: [PATCH] [ci skip] Remove outdated comments (#4111) --- .../v1_20_3to1_20_5/rewriter/StructuredDataConverter.java | 1 - .../java/com/viaversion/viaversion/common/nbt/NBTTagTest.java | 4 ---- 2 files changed, 5 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/StructuredDataConverter.java b/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/StructuredDataConverter.java index 839636009..1951e1294 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/StructuredDataConverter.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/StructuredDataConverter.java @@ -72,7 +72,6 @@ import java.util.Collections; import java.util.Map; import org.checkerframework.checker.nullness.qual.Nullable; -// 1.20.5 data component -> 1.20.3 nbt conversion public final class StructuredDataConverter { static final int HIDE_ENCHANTMENTS = 1; diff --git a/common/src/test/java/com/viaversion/viaversion/common/nbt/NBTTagTest.java b/common/src/test/java/com/viaversion/viaversion/common/nbt/NBTTagTest.java index 030d22ba7..adaad737b 100644 --- a/common/src/test/java/com/viaversion/viaversion/common/nbt/NBTTagTest.java +++ b/common/src/test/java/com/viaversion/viaversion/common/nbt/NBTTagTest.java @@ -48,9 +48,5 @@ public class NBTTagTest { Assertions.assertEquals("2147483649", deserializeCompoundTag("{id:9000b,thisisastring:2147483649}").get("thisisastring").getValue()); Assertions.assertEquals((byte) 1, deserializeCompoundTag("{thisisabyte:true}").get("thisisabyte").getValue()); Assertions.assertEquals((byte) 0, deserializeCompoundTag("{thisisabyte:false}").get("thisisabyte").getValue()); - - //TODO fix legacy < 1.12 - // deserialize("{id:minecraft:stone}"); - // deserialize("{id:[1,2, 3, 4,5]}"); } }