This commit is contained in:
gnembon committed 2020-12-14 02:51:01 -04:00
1 parent 50a0e4b886
commit 00ad9eccc7
5 files changed
+6 -6

No files matched your search

@@ -108,7 +108,7 @@ public class BlockValue extends Value
{
if (data != null)
{
if (data.method_33133())
if (data.isEmpty())
return null;
return data;
}
@@ -392,7 +392,7 @@ public class NBTSerializableValue extends Value implements ContainerValueInterfa
{
Tag tag = getTag();
if (tag instanceof CompoundTag)
return !((CompoundTag) tag).method_33133();
return !((CompoundTag) tag).isEmpty();
if (tag instanceof AbstractListTag)
return ((AbstractListTag) tag).isEmpty();
if (tag instanceof AbstractNumberTag)