rotfl
This commit is contained in:
1 parent
0910bc8779
commit
159e2d94a0
1 file changed
+2
-2
@@ -420,11 +420,11 @@ public class NBTSerializableValue extends Value implements ContainerValueInterfa
|
||||
if (tag instanceof NbtCompound)
|
||||
return !((NbtCompound) tag).isEmpty();
|
||||
if (tag instanceof AbstractNbtList)
|
||||
return ((AbstractNbtList) tag).isEmpty();
|
||||
return !((AbstractNbtList) tag).isEmpty();
|
||||
if (tag instanceof AbstractNbtNumber)
|
||||
return ((AbstractNbtNumber) tag).doubleValue()!=0.0;
|
||||
if (tag instanceof NbtString)
|
||||
return tag.asString().isEmpty();
|
||||
return !tag.asString().isEmpty();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user