hasBlocks property
bool
get
hasBlocks
Check if inventory contains blocks
Implementation
bool get hasBlocks {
return invList.any((inv) => inv.type == InvType.msgBlock);
}
Check if inventory contains blocks
bool get hasBlocks {
return invList.any((inv) => inv.type == InvType.msgBlock);
}