diff --git a/data/data-nbtcontainer/src/main/java/com/syntaxphoenix/syntaxapi/data/container/nbt/NbtAdapterRegistry.java b/data/data-nbtcontainer/src/main/java/com/syntaxphoenix/syntaxapi/data/container/nbt/NbtAdapterRegistry.java index 3e38f87..aeaf156 100644 --- a/data/data-nbtcontainer/src/main/java/com/syntaxphoenix/syntaxapi/data/container/nbt/NbtAdapterRegistry.java +++ b/data/data-nbtcontainer/src/main/java/com/syntaxphoenix/syntaxapi/data/container/nbt/NbtAdapterRegistry.java @@ -13,11 +13,7 @@ public Object extract(NbtTag base) { if (base.getType() == NbtType.END) { return null; } - Object value = extract(base.getValue().getClass(), base); - if (value instanceof NbtTag) { - return extract((NbtTag) value); - } - return value; + return extract(base.getValue().getClass(), base); } @Override