#3585: Fix mistake converting certain NBT to JSON in previous commit

This commit is contained in:
md_5 2023-12-22 22:06:23 +11:00
parent f5af11193c
commit 708c5b6254
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -187,7 +187,7 @@ public final class TagUtil
if ( compound.size() == 1 ) if ( compound.size() == 1 )
{ {
SpecificTag first = (SpecificTag) compound.get( "" ); SpecificTag first = (SpecificTag) compound.get( "" );
if ( first != null ) if ( !first.isError() )
{ {
jsonList.add( toJson( first ) ); jsonList.add( toJson( first ) );
continue; continue;